org.apache.lucene.search.regex
Class SpanRegexQuery
java.lang.Object
org.apache.lucene.search.Query
org.apache.lucene.search.spans.SpanQuery
org.apache.lucene.search.spans.SpanMultiTermQueryWrapper<RegexQuery>
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
SpanRegexQuery
public SpanRegexQuery(Term term)
- Deprecated.
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