Class FulltextSearchFunction

java.lang.Object
ch.tocco.nice2.enterprisesearch.impl.queryfunction.FulltextSearchFunction
All Implemented Interfaces:
QueryFunction

@Component public class FulltextSearchFunction extends Object implements QueryFunction
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Description copied from interface: QueryFunction
      The unique function name.
      Specified by:
      getName in interface QueryFunction
    • postCompile

      @Nullable public @Nullable Node postCompile(Cursor cursor, FuncallNode functionRoot, EntityModel rootEntityModel)
      Description copied from interface: QueryFunction
      Applies this function to the given (sub)tree.
      Specified by:
      postCompile in 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)