Interface FulltextQueryTermsProvider


  • @Deprecated
    public interface FulltextQueryTermsProvider
    Deprecated.
    This interface exposes Lucene API directly - it will be removed as soon as an alternative is available. See also IndexFieldProvider.
    Implementations of this interface would get callbacks while forming lucene full text queries.
    • Field Detail

      • DEFAULT

        static final FulltextQueryTermsProvider DEFAULT
        Deprecated.
        Implementation which doesn't do anything useful... yet, abides with the contract.
    • Method Detail

      • getQueryTerm

        @Nullable
        @Nullable Query getQueryTerm​(String text,
                                     Analyzer analyzer,
                                     NodeState indexDefinition)
        Deprecated.
        This method would get called while forming full text clause for full text clause not constrained on a particular field.
        Parameters:
        text - full text term
        analyzer - Analyzer being used while forming the query. Can be used to analyze text consistently.
        indexDefinition - NodeState of index definition
        Returns:
        Query object to be OR'ed with query being prepared. null, if nothing is to be added.