public class ElasticSearchSingleDocumentSearchQueryBase extends ElasticSearchQueryBase implements org.vertexium.query.GraphQueryWithHistogramAggregation, org.vertexium.query.GraphQueryWithTermsAggregation, org.vertexium.query.GraphQueryWithGeohashAggregation
org.vertexium.query.QueryBase.HasContainer, org.vertexium.query.QueryBase.HasNotPropertyContainer, org.vertexium.query.QueryBase.HasPropertyContainer, org.vertexium.query.QueryBase.HasValueContainer, org.vertexium.query.QueryBase.SortContainerQUERY_LOGGER| Constructor and Description |
|---|
ElasticSearchSingleDocumentSearchQueryBase(org.elasticsearch.client.transport.TransportClient client,
org.vertexium.Graph graph,
String[] similarToFields,
String similarToText,
Map<String,org.vertexium.PropertyDefinition> propertyDefinitions,
ScoringStrategy scoringStrategy,
IndexSelectionStrategy indexSelectionStrategy,
org.vertexium.Authorizations authorizations) |
ElasticSearchSingleDocumentSearchQueryBase(org.elasticsearch.client.transport.TransportClient client,
org.vertexium.Graph graph,
String queryString,
Map<String,org.vertexium.PropertyDefinition> propertyDefinitions,
ScoringStrategy scoringStrategy,
IndexSelectionStrategy indexSelectionStrategy,
org.vertexium.Authorizations authorizations) |
| Modifier and Type | Method and Description |
|---|---|
org.vertexium.query.GraphQueryWithGeohashAggregation |
addGeohashAggregation(String aggregationName,
String fieldName,
int precision) |
org.vertexium.query.GraphQueryWithHistogramAggregation |
addHistogramAggregation(String aggregationName,
String fieldName,
String interval) |
org.vertexium.query.GraphQueryWithHistogramAggregation |
addHistogramAggregation(String aggregationName,
String fieldName,
String interval,
Long minDocumentCount) |
org.vertexium.query.GraphQueryWithTermsAggregation |
addTermsAggregation(String aggregationName,
String fieldName) |
protected void |
applySort(org.elasticsearch.action.search.SearchRequestBuilder q) |
protected org.elasticsearch.index.query.QueryBuilder |
createQueryStringQuery(org.vertexium.query.QueryStringQueryParameters queryParameters) |
protected List<org.elasticsearch.index.query.FilterBuilder> |
getFilters(ElasticSearchElementType elementType) |
protected org.elasticsearch.action.search.SearchRequestBuilder |
getSearchRequestBuilder(List<org.elasticsearch.index.query.FilterBuilder> filters,
org.elasticsearch.index.query.QueryBuilder queryBuilder,
ElasticSearchElementType elementType,
int skip,
int limit) |
addElementTypeFilter, addGeohashQueryToSearchRequestBuilder, addHistogramQueryToSearchRequestBuilder, addNotFilter, addTermsQueryToSearchRequestBuilder, createElementTypeFilter, createIterable, createQuery, createSimilarToTextQuery, edges, elements, getAggregationName, getClient, getFilterBuilder, getFilterForComparePredicate, getFilterForContainsPredicate, getFilterForGeoComparePredicate, getFilterForHasNotPropertyContainer, getFilterForHasPropertyContainer, getFilterForTextPredicate, getFiltersForHasValueContainer, getIndexSelectionStrategy, getPropertyNames, getSearchIndex, verticesboost, edges, edges, edges, elements, getGraph, getParameters, getPropertyDefinitions, has, has, has, hasNot, hasNot, limit, limit, maxDocFrequency, maxQueryTerms, minDocFrequency, minTermFrequency, percentTermsToMatch, range, range, skip, sort, verticespublic ElasticSearchSingleDocumentSearchQueryBase(org.elasticsearch.client.transport.TransportClient client,
org.vertexium.Graph graph,
String queryString,
Map<String,org.vertexium.PropertyDefinition> propertyDefinitions,
ScoringStrategy scoringStrategy,
IndexSelectionStrategy indexSelectionStrategy,
org.vertexium.Authorizations authorizations)
public ElasticSearchSingleDocumentSearchQueryBase(org.elasticsearch.client.transport.TransportClient client,
org.vertexium.Graph graph,
String[] similarToFields,
String similarToText,
Map<String,org.vertexium.PropertyDefinition> propertyDefinitions,
ScoringStrategy scoringStrategy,
IndexSelectionStrategy indexSelectionStrategy,
org.vertexium.Authorizations authorizations)
public org.vertexium.query.GraphQueryWithHistogramAggregation addHistogramAggregation(String aggregationName, String fieldName, String interval, Long minDocumentCount)
addHistogramAggregation in interface org.vertexium.query.GraphQueryWithHistogramAggregationpublic org.vertexium.query.GraphQueryWithHistogramAggregation addHistogramAggregation(String aggregationName, String fieldName, String interval)
addHistogramAggregation in interface org.vertexium.query.GraphQueryWithHistogramAggregationpublic org.vertexium.query.GraphQueryWithTermsAggregation addTermsAggregation(String aggregationName, String fieldName)
addTermsAggregation in interface org.vertexium.query.GraphQueryWithTermsAggregationpublic org.vertexium.query.GraphQueryWithGeohashAggregation addGeohashAggregation(String aggregationName, String fieldName, int precision)
addGeohashAggregation in interface org.vertexium.query.GraphQueryWithGeohashAggregationprotected org.elasticsearch.action.search.SearchRequestBuilder getSearchRequestBuilder(List<org.elasticsearch.index.query.FilterBuilder> filters, org.elasticsearch.index.query.QueryBuilder queryBuilder, ElasticSearchElementType elementType, int skip, int limit)
getSearchRequestBuilder in class ElasticSearchQueryBaseprotected org.elasticsearch.index.query.QueryBuilder createQueryStringQuery(org.vertexium.query.QueryStringQueryParameters queryParameters)
createQueryStringQuery in class ElasticSearchQueryBaseprotected List<org.elasticsearch.index.query.FilterBuilder> getFilters(ElasticSearchElementType elementType)
getFilters in class ElasticSearchQueryBaseprotected void applySort(org.elasticsearch.action.search.SearchRequestBuilder q)
applySort in class ElasticSearchQueryBaseCopyright © 2014–2015. All rights reserved.