org.apache.lucene.search.regex
Class JavaUtilRegexCapabilities
public
class
JavaUtilRegexCapabilities
extends Object
implements RegexCapabilities
An implementation tying Java's built-in java.util.regex to RegexQuery.
Note that because this implementation currently only returns null from
{@link #prefix} that queries using this implementation will enumerate and
attempt to {@link #match} each term for the specified field in the index.
public void compile(String pattern)
public boolean equals(Object o)
public int hashCode()
public boolean match(String string)
public String prefix()
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.