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.TopTermsSpanBooleanQueryRewritequery, 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, waitclone, combine, extractTerms, getBoost, getSimilarity, mergeBooleanQueries, setBoost, toString, weightequals, getField, getRewriteMethod, getSpans, hashCode, rewrite, setRewriteMethod, toStringcreateWeightpublic SpanRegexQuery(Term term)
public Term getTerm()
public void setRegexImplementation(RegexCapabilities impl)
setRegexImplementation in interface RegexQueryCapablepublic RegexCapabilities getRegexImplementation()
getRegexImplementation in interface RegexQueryCapableCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.