public class UnionSearchIndex extends Object implements SearchIndex
EMPTY| Constructor and Description |
|---|
UnionSearchIndex(SearchIndex lhs,
SearchIndex rhs) |
| Modifier and Type | Method and Description |
|---|---|
static SearchIndex |
combine(SearchIndex... sets) |
void |
find(String token,
List<SearchItem> result) |
void |
suggest(String token,
List<SearchItem> result)
This method returns the superset of
SearchIndex.find(String, List). |
public UnionSearchIndex(SearchIndex lhs, SearchIndex rhs)
public static SearchIndex combine(SearchIndex... sets)
public void find(String token, List<SearchItem> result)
find in interface SearchIndexpublic void suggest(String token, List<SearchItem> result)
SearchIndexSearchIndex.find(String, List).suggest in interface SearchIndexCopyright © 2019. All rights reserved.