public class ElasticsearchSearcher extends Object implements Searchable<Serializable>
| Constructor and Description |
|---|
ElasticsearchSearcher(io.searchbox.client.JestClient client) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<Serializable> |
findAllKeywords(String... terms) |
Iterable<Serializable> |
findAllKeywordsWithWeights(String[] terms,
double[] weights) |
Iterable<Serializable> |
findAnyKeywords(String... terms) |
Iterable<Serializable> |
findKeyword(String query) |
Iterable<Serializable> |
findKeywordsNear(int proximity,
String... terms) |
Iterable<Serializable> |
findKeywordStartsWith(String term) |
Iterable<Serializable> |
findKeywordStartsWithAndEndsWith(String a,
String b) |
public ElasticsearchSearcher(io.searchbox.client.JestClient client)
public Iterable<Serializable> findKeyword(String query)
findKeyword in interface Searchable<Serializable>public Iterable<Serializable> findAllKeywords(String... terms)
findAllKeywords in interface Searchable<Serializable>public Iterable<Serializable> findAnyKeywords(String... terms)
findAnyKeywords in interface Searchable<Serializable>public Iterable<Serializable> findKeywordsNear(int proximity, String... terms)
findKeywordsNear in interface Searchable<Serializable>public Iterable<Serializable> findKeywordStartsWith(String term)
findKeywordStartsWith in interface Searchable<Serializable>public Iterable<Serializable> findKeywordStartsWithAndEndsWith(String a, String b)
findKeywordStartsWithAndEndsWith in interface Searchable<Serializable>public Iterable<Serializable> findAllKeywordsWithWeights(String[] terms, double[] weights)
findAllKeywordsWithWeights in interface Searchable<Serializable>Copyright © 2019 Paul Warren. All rights reserved.