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 SearchIndex
public void suggest(String token, List<SearchItem> result)
SearchIndex
SearchIndex.find(String, List)
.suggest
in interface SearchIndex
Copyright © 2004–2021. All rights reserved.