no.sesat.search.run
Class QueryFactory
java.lang.Object
no.sesat.search.run.QueryFactory
- Direct Known Subclasses:
- QueryFactoryImpl
public abstract class QueryFactory
- extends Object
QueryFactory is part of no.sesat.search.query.
Use QueryFactory to create a new RunningQuery instance. The RunningQuery
should contain all information on how to search in fast.
- Version:
- $Id: QueryFactory.java 7225 2009-04-09 00:32:20Z ssmiweve $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryFactory
public QueryFactory()
getInstance
public static QueryFactory getInstance()
- Create a new instance of QueryFactory.
- Returns:
- instance
createQuery
public abstract RunningQuery createQuery(RunningQuery.Context cxt,
HttpServletRequest request,
HttpServletResponse response)
throws SiteKeyedFactoryInstantiationException
- Create a new instance of running query. The implementation can
be RunningWebQuery, RunningAdvWebQuery for example.
- Parameters:
mode - with SearchConfigurationrequest - with parametersresponse -
- Returns:
- instance of RunningQuery
- Throws:
SiteKeyedFactoryInstantiationException
Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.