Class NoResultQueryFactory
java.lang.Object
de.cxp.ocs.elasticsearch.query.builder.NoResultQueryFactory
- All Implemented Interfaces:
ESQueryFactory
Special QueryFactory used for arranged searches that do not want to have a main-result included.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
TextMatchQuery
<org.elasticsearch.index.query.QueryBuilder> void
initialize
(String name, Map<QueryBuildingSetting, String> settings, Map<String, Float> fieldWeights, FieldConfigAccess fieldConfig) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.cxp.ocs.spi.search.ESQueryFactory
getName
-
Constructor Details
-
NoResultQueryFactory
public NoResultQueryFactory()
-
-
Method Details
-
initialize
public void initialize(String name, Map<QueryBuildingSetting, String> settings, Map<String, Float> fieldWeights, FieldConfigAccess fieldConfig) - Specified by:
initialize
in interfaceESQueryFactory
-
createQuery
- Specified by:
createQuery
in interfaceESQueryFactory
-
allowParallelSpellcheckExecution
public boolean allowParallelSpellcheckExecution()- Specified by:
allowParallelSpellcheckExecution
in interfaceESQueryFactory
-