public class ElasticSearchGraphQuery extends ElasticSearchGraphQueryBase implements org.neolumin.vertexium.query.GraphQueryWithHistogramAggregation, org.neolumin.vertexium.query.GraphQueryWithTermsAggregation, org.neolumin.vertexium.query.GraphQueryWithGeohashAggregation
| Constructor and Description |
|---|
ElasticSearchGraphQuery(org.elasticsearch.client.transport.TransportClient client,
String[] indicesToQuery,
org.neolumin.vertexium.Graph graph,
String[] similarToFields,
String similarToText,
Map<String,org.neolumin.vertexium.PropertyDefinition> propertyDefinitions,
ScoringStrategy scoringStrategy,
org.neolumin.vertexium.Authorizations authorizations) |
ElasticSearchGraphQuery(org.elasticsearch.client.transport.TransportClient client,
String[] indicesToQuery,
org.neolumin.vertexium.Graph graph,
String queryString,
Map<String,org.neolumin.vertexium.PropertyDefinition> propertyDefinitions,
ScoringStrategy scoringStrategy,
org.neolumin.vertexium.Authorizations authorizations) |
| Modifier and Type | Method and Description |
|---|---|
org.neolumin.vertexium.query.GraphQueryWithGeohashAggregation |
addGeohashAggregation(String aggregationName,
String fieldName,
int precision) |
org.neolumin.vertexium.query.GraphQueryWithHistogramAggregation |
addHistogramAggregation(String aggregationName,
String fieldName,
String interval) |
org.neolumin.vertexium.query.GraphQueryWithTermsAggregation |
addTermsAggregation(String aggregationName,
String fieldName) |
protected List<org.elasticsearch.index.query.FilterBuilder> |
getFilters(String elementType) |
protected org.elasticsearch.action.search.SearchRequestBuilder |
getSearchRequestBuilder(List<org.elasticsearch.index.query.FilterBuilder> filters,
org.elasticsearch.index.query.QueryBuilder queryBuilder) |
addElementTypeFilter, addNotFilter, createElementTypeFilter, createIterable, createQuery, edges, getClient, getFilterBuilder, getIndicesToQuery, verticesboost, edges, edges, edges, getGraph, getParameters, getPropertyDefinitions, has, has, limit, maxDocFrequency, maxQueryTerms, minDocFrequency, minTermFrequency, percentTermsToMatch, range, skip, verticespublic ElasticSearchGraphQuery(org.elasticsearch.client.transport.TransportClient client,
String[] indicesToQuery,
org.neolumin.vertexium.Graph graph,
String queryString,
Map<String,org.neolumin.vertexium.PropertyDefinition> propertyDefinitions,
ScoringStrategy scoringStrategy,
org.neolumin.vertexium.Authorizations authorizations)
public ElasticSearchGraphQuery(org.elasticsearch.client.transport.TransportClient client,
String[] indicesToQuery,
org.neolumin.vertexium.Graph graph,
String[] similarToFields,
String similarToText,
Map<String,org.neolumin.vertexium.PropertyDefinition> propertyDefinitions,
ScoringStrategy scoringStrategy,
org.neolumin.vertexium.Authorizations authorizations)
protected List<org.elasticsearch.index.query.FilterBuilder> getFilters(String elementType)
getFilters in class ElasticSearchGraphQueryBasepublic org.neolumin.vertexium.query.GraphQueryWithHistogramAggregation addHistogramAggregation(String aggregationName, String fieldName, String interval)
addHistogramAggregation in interface org.neolumin.vertexium.query.GraphQueryWithHistogramAggregationpublic org.neolumin.vertexium.query.GraphQueryWithTermsAggregation addTermsAggregation(String aggregationName, String fieldName)
addTermsAggregation in interface org.neolumin.vertexium.query.GraphQueryWithTermsAggregationpublic org.neolumin.vertexium.query.GraphQueryWithGeohashAggregation addGeohashAggregation(String aggregationName, String fieldName, int precision)
addGeohashAggregation in interface org.neolumin.vertexium.query.GraphQueryWithGeohashAggregationprotected org.elasticsearch.action.search.SearchRequestBuilder getSearchRequestBuilder(List<org.elasticsearch.index.query.FilterBuilder> filters, org.elasticsearch.index.query.QueryBuilder queryBuilder)
getSearchRequestBuilder in class ElasticSearchGraphQueryBaseCopyright © 2014–2015. All rights reserved.