public class FTSearchEngine
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REVISION |
protected Store |
store |
Constructor and Description |
---|
FTSearchEngine(Store store) |
Modifier and Type | Method and Description |
---|---|
java.util.TreeSet<Searchable> |
searchRegexp(java.util.TreeSet<Searchable> dataSet,
java.util.TreeSet<Searchable> resultSet,
java.lang.String[] regexp,
boolean matchAll,
boolean caseInsensitive,
boolean accentInsensitive)
Search all searchable object matching one of specified regular expressions.
|
public static final java.lang.String REVISION
protected Store store
public FTSearchEngine(Store store)
public java.util.TreeSet<Searchable> searchRegexp(java.util.TreeSet<Searchable> dataSet, java.util.TreeSet<Searchable> resultSet, java.lang.String[] regexp, boolean matchAll, boolean caseInsensitive, boolean accentInsensitive) throws org.apache.oro.text.regex.MalformedPatternException
dataSet
- the set containing searchable items (must not be null)resultSet
- the set in which to put all results (must not be null)regexp
- an array of regular expressionmatchAll
- true if all regular expressions must be matchedcaseInsensitive
- true if case must be ignoredaccentInsensitive
- true if accent must be ignoredorg.apache.oro.text.regex.MalformedPatternException
Copyright © 2001-2010 Jalios SA. All Rights Reserved.