Class SpanNearClauseFactory


  • public class SpanNearClauseFactory
    extends java.lang.Object
    Factory for SpanOrQuery
    • Method Detail

      • getFieldName

        public java.lang.String getFieldName()
      • size

        public int size()
      • clear

        public void clear()
      • addTermWeighted

        public void addTermWeighted​(Term t,
                                    float weight)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • addSpanQuery

        public void addSpanQuery​(Query q)
      • makeSpanClause

        public SpanQuery makeSpanClause()