Home » lucene-3.0.1-src » org.apache » lucene » search » spans » [javadoc | source]
public class: SpanNotQuery [javadoc | source]

All Implemented Interfaces:
    Cloneable, Serializable

Removes matches which overlap with another SpanQuery.
 public SpanNotQuery(SpanQuery include,
    SpanQuery exclude) 
    Construct a SpanNotQuery matching spans from include which have no overlap with spans from exclude.
Method from org.apache.lucene.search.spans.SpanNotQuery Summary:
clone,   equals,   extractTerms,   getExclude,   getField,   getInclude,   getSpans,   hashCode,   rewrite,   toString
Methods from org.apache.lucene.search.spans.SpanQuery:
createWeight,   getField,   getSpans
Methods from org.apache.lucene.search.Query:
clone,   combine,   createWeight,   equals,   extractTerms,   getBoost,   getSimilarity,   hashCode,   mergeBooleanQueries,   rewrite,   setBoost,   toString,   toString,   weight
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.search.spans.SpanNotQuery Detail:
 public Object clone() 
 public boolean equals(Object o) 
    Returns true iff o is equal to this.
 public  void extractTerms(Set<Term> terms) 
 public SpanQuery getExclude() 
    Return the SpanQuery whose matches must not overlap those returned.
 public String getField() 
 public SpanQuery getInclude() 
    Return the SpanQuery whose matches are filtered.
 public Spans getSpans(IndexReader reader) throws IOException 
 public int hashCode() 
 public Query rewrite(IndexReader reader) throws IOException 
 public String toString(String field)