Class Match

    • Constructor Detail

    • Method Detail

      • phrase

        public Match phrase()
        Set this to be a "Phrase" type expression.
      • phrasePrefix

        public Match phrasePrefix()
        Set this to be a "Phrase Prefix" type expression.
      • opAnd

        public Match opAnd()
        Use the AND operator (rather than OR).
      • opOr

        public Match opOr()
        Use the OR operator (rather than AND).
      • cutoffFrequency

        public Match cutoffFrequency​(double cutoffFrequency)
        Set the cutoff frequency.
      • maxExpansions

        public Match maxExpansions​(int maxExpansions)
        Set the max expansions (for phrase prefix only).
      • analyzer

        public Match analyzer​(String analyzer)
        Set the Analyzer to use for this expression.
      • boost

        public Match boost​(double boost)
        Set the boost.
      • isPhrase

        public boolean isPhrase()
        Return true if this is a phrase query.
      • isPhrasePrefix

        public boolean isPhrasePrefix()
        Return true if this is a phrase prefix query.