Save This Page
Home » lucene-3.0.1-src » org.apache » lucene » search » spans » [javadoc | source]
org.apache.lucene.search.spans
public class: SpanOrQuery [javadoc | source]
java.lang.Object
   org.apache.lucene.search.Query
      org.apache.lucene.search.spans.SpanQuery
         org.apache.lucene.search.spans.SpanOrQuery

All Implemented Interfaces:
    Cloneable, Serializable

Matches the union of its clauses.
Constructor:
 public SpanOrQuery(SpanQuery clauses) 
    Construct a SpanOrQuery merging the provided clauses.
Method from org.apache.lucene.search.spans.SpanOrQuery Summary:
clone,   equals,   extractTerms,   getClauses,   getField,   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.SpanOrQuery Detail:
 public Object clone() 
 public boolean equals(Object o) 
 public  void extractTerms(Set<Term> terms) 
 public SpanQuery[] getClauses() 
    Return the clauses whose spans are matched.
 public String getField() 
 public Spans getSpans(IndexReader reader) throws IOException 
 public int hashCode() 
 public Query rewrite(IndexReader reader) throws IOException 
 public String toString(String field)