org.apache.lucene.search.regex
Class RegexQuery
- Cloneable, org.apache.lucene.search.regex.RegexQueryCapable, Serializable
public class RegexQuery
implements org.apache.lucene.search.regex.RegexQueryCapable
Implements the regular expression term search query.
The expressions supported depend on the regular expression implementation
used by way of the RegexCapabilities
interface.
clone , combine , createWeight , extractTerms , getBoost , getSimilarity , mergeBooleanQueries , rewrite , setBoost , toString , toString , weight |
RegexQuery
public RegexQuery(Term term)
Constructs a query for terms matching term
.
getRegexImplementation
public org.apache.lucene.search.regex.RegexCapabilities getRegexImplementation()
- getRegexImplementation in interface org.apache.lucene.search.regex.RegexQueryCapable
- The implementation used by this instance.
setRegexImplementation
public void setRegexImplementation(org.apache.lucene.search.regex.RegexCapabilities impl)
Defines which RegexCapabilities
implementation is used by this instance.
- setRegexImplementation in interface org.apache.lucene.search.regex.RegexQueryCapable
Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.