no.sesat.search.run
Class RunningQueryImpl
java.lang.Object
no.sesat.search.run.AbstractRunningQuery
no.sesat.search.run.RunningQueryImpl
- All Implemented Interfaces:
- RunningQuery
- Direct Known Subclasses:
- RunningWebQuery
public class RunningQueryImpl
- extends AbstractRunningQuery
- implements RunningQuery
Central controlling class around the individual search commands executed in any query search.
- Version:
- $Id: RunningQueryImpl.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 |
PARAM_LAYOUT
public static final String PARAM_LAYOUT
- See Also:
- Constant Field Values
PARAM_LAYOUT_OLD
public static final String PARAM_LAYOUT_OLD
- See Also:
- Constant Field Values
allCancelled
protected boolean allCancelled
- have all search commands been cancelled.
implementation details allowing web subclasses to send correct error to client.
datamodel
protected final DataModel datamodel
engine
protected final TokenEvaluationEngine engine
RunningQueryImpl
public RunningQueryImpl(RunningQuery.Context cxt,
String query)
throws SiteKeyedFactoryInstantiationException
- Create a new RunningQuery instance.
- Parameters:
cxt - query -
- Throws:
SiteKeyedFactoryInstantiationException
run
public void run()
throws InterruptedException
- Thread run. Guts of the logic behind this class.
XXX long method. Divide & Conquer.
- Specified by:
run in interface RunningQuery
- Throws:
InterruptedException
getHits
protected Map<String,Integer> getHits()
- Returns:
applicableSearchConfigurations
protected Collection<SearchConfiguration> applicableSearchConfigurations()
- Intentionally overridable. Would be nice if run-transform-spi could have influence on the result here.
- Returns:
- collection of SearchConfigurations applicable to this running query.
Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.