org.apache.lucene.search.regex
Class SpanRegexQuery

java.lang.Object
  extended by org.apache.lucene.search.Query
      extended by org.apache.lucene.search.spans.SpanQuery
          extended by org.apache.lucene.search.spans.SpanMultiTermQueryWrapper<RegexQuery>
              extended by org.apache.lucene.search.regex.SpanRegexQuery
All Implemented Interfaces:
Serializable, Cloneable, RegexQueryCapable

Deprecated. Use new SpanMultiTermQueryWrapper<RegexQuery>(new RegexQuery()) instead. This query will be removed in Lucene 4.0

@Deprecated
public class SpanRegexQuery
extends SpanMultiTermQueryWrapper<RegexQuery>
implements RegexQueryCapable

A SpanQuery version of RegexQuery allowing regular expression queries to be nested within other SpanQuery subclasses.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.lucene.search.spans.SpanMultiTermQueryWrapper
SpanMultiTermQueryWrapper.SpanRewriteMethod, SpanMultiTermQueryWrapper.TopTermsSpanBooleanQueryRewrite
 
Field Summary
 
Fields inherited from class org.apache.lucene.search.spans.SpanMultiTermQueryWrapper
query, SCORING_SPAN_QUERY_REWRITE
 
Constructor Summary
SpanRegexQuery(Term term)
          Deprecated.  
 
Method Summary
 RegexCapabilities getRegexImplementation()
          Deprecated.  
 Term getTerm()
          Deprecated.  
 void setRegexImplementation(RegexCapabilities impl)
          Deprecated.  
 
Methods inherited from class org.apache.lucene.search.spans.SpanMultiTermQueryWrapper
equals, getField, getRewriteMethod, getSpans, hashCode, rewrite, setRewriteMethod, toString
 
Methods inherited from class org.apache.lucene.search.spans.SpanQuery
createWeight
 
Methods inherited from class org.apache.lucene.search.Query
clone, combine, extractTerms, getBoost, getSimilarity, mergeBooleanQueries, setBoost, toString, weight
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpanRegexQuery

public SpanRegexQuery(Term term)
Deprecated. 
Method Detail

getTerm

public Term getTerm()
Deprecated. 

setRegexImplementation

public void setRegexImplementation(RegexCapabilities impl)
Deprecated. 
Specified by:
setRegexImplementation in interface RegexQueryCapable

getRegexImplementation

public RegexCapabilities getRegexImplementation()
Deprecated. 
Specified by:
getRegexImplementation in interface RegexQueryCapable