Class PhraseQuery

    • Constructor Detail

      • PhraseQuery

        public PhraseQuery​(java.lang.String field,
                           java.lang.String value,
                           java.lang.Integer proximity)
    • Method Detail

      • getProximity

        public java.lang.Integer getProximity()
        Returns:
        the amount of slop permitted on phrase queries. Slop refers to the number of positions one token needs to be moved in relation to another token in order to match a phrase specified in a query.