Class SimpleTerm

    • Constructor Detail

      • SimpleTerm

        public SimpleTerm​(boolean q)
    • Method Detail

      • getQuote

        public java.lang.String getQuote()
      • getFieldOperator

        public java.lang.String getFieldOperator()
      • toStringUnquoted

        public abstract java.lang.String toStringUnquoted()
      • compareTo

        @Deprecated
        public int compareTo​(SimpleTerm ost)
        Deprecated.
        (March 2011) Not normally used, to be removed from Lucene 4.0. This class implementing Comparable is to be removed at the same time.
        Specified by:
        compareTo in interface java.lang.Comparable<SimpleTerm>
      • visitMatchingTerms

        public abstract void visitMatchingTerms​(IndexReader reader,
                                                java.lang.String fieldName,
                                                SimpleTerm.MatchingTermVisitor mtv)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • distanceSubQueryNotAllowed

        public java.lang.String distanceSubQueryNotAllowed()
        Description copied from interface: DistanceSubQuery
        When distanceSubQueryNotAllowed() returns non null, the reason why the subquery is not allowed as a distance subquery is returned.
        When distanceSubQueryNotAllowed() returns null addSpanNearQueries() can be used in the creation of the span near clause for the subquery.
        Specified by:
        distanceSubQueryNotAllowed in interface DistanceSubQuery