Class FulltextSearchFunction
java.lang.Object
ch.tocco.nice2.enterprisesearch.impl.queryfunction.FulltextSearchFunction
- All Implemented Interfaces:
- QueryFunction
- 
Constructor SummaryConstructorsConstructorDescriptionFulltextSearchFunction(TypeManager typeManager, FulltextIndexService fulltextIndexService, org.slf4j.Logger log, FulltextSearchBuilderFactoryMarker fulltextSearchBuilderFactoryMarker, ConditionFactory conditionFactory) 
- 
Method SummaryModifier and TypeMethodDescriptiongetName()The unique function name.@Nullable NodepostCompile(Cursor cursor, FuncallNode functionRoot, EntityModel rootEntityModel) Applies this function to the given (sub)tree.voidsetHostName(String hostName) voidsetQueryLimit(int limit) 
- 
Constructor Details- 
FulltextSearchFunctionpublic FulltextSearchFunction(TypeManager typeManager, @Lazy FulltextIndexService fulltextIndexService, org.slf4j.Logger log, FulltextSearchBuilderFactoryMarker fulltextSearchBuilderFactoryMarker, @Lazy ConditionFactory conditionFactory) 
 
- 
- 
Method Details- 
getNameDescription copied from interface:QueryFunctionThe unique function name.- Specified by:
- getNamein interface- QueryFunction
 
- 
postCompile@Nullable public @Nullable Node postCompile(Cursor cursor, FuncallNode functionRoot, EntityModel rootEntityModel) Description copied from interface:QueryFunctionApplies this function to the given (sub)tree.- Specified by:
- postCompilein interface- QueryFunction
 
- 
setQueryLimit@Value("${nice2.enterprisesearch.queryfunction.queryLimit}") public void setQueryLimit(int limit) 
- 
setHostName@Value("${nice2.enterprisesearch.elasticsearch.hostName:#{null}}") public void setHostName(String hostName) 
 
-