Serializable
, Cloneable
, RegexQueryCapable
@Deprecated public class SpanRegexQuery extends SpanMultiTermQueryWrapper<RegexQuery> implements RegexQueryCapable
new SpanMultiTermQueryWrapper<RegexQuery>(new RegexQuery())
instead.
This query will be removed in Lucene 4.0RegexQuery
allowing regular expression
queries to be nested within other SpanQuery subclasses.SpanMultiTermQueryWrapper.SpanRewriteMethod, SpanMultiTermQueryWrapper.TopTermsSpanBooleanQueryRewrite
query, SCORING_SPAN_QUERY_REWRITE
Constructor | Description |
---|---|
SpanRegexQuery(Term term) |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
RegexCapabilities |
getRegexImplementation() |
Deprecated.
|
Term |
getTerm() |
Deprecated.
|
void |
setRegexImplementation(RegexCapabilities impl) |
Deprecated.
|
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, combine, extractTerms, getBoost, getSimilarity, mergeBooleanQueries, setBoost, toString, weight
equals, getField, getRewriteMethod, getSpans, hashCode, rewrite, setRewriteMethod, toString
createWeight
public SpanRegexQuery(Term term)
public Term getTerm()
public void setRegexImplementation(RegexCapabilities impl)
setRegexImplementation
in interface RegexQueryCapable
public RegexCapabilities getRegexImplementation()
getRegexImplementation
in interface RegexQueryCapable
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.