public class ElasticSearchSearchIndex extends ElasticSearchSearchIndexBase
ELEMENT_TYPE, ELEMENT_TYPE_EDGE, ELEMENT_TYPE_FIELD_NAME, ELEMENT_TYPE_VERTEX, EXACT_MATCH_PROPERTY_NAME_SUFFIX, GEO_PROPERTY_NAME_SUFFIX, VISIBILITY_FIELD_NAME| Constructor and Description |
|---|
ElasticSearchSearchIndex(org.neolumin.vertexium.GraphConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(org.neolumin.vertexium.Graph graph,
org.neolumin.vertexium.Element element,
org.neolumin.vertexium.Authorizations authorizations) |
void |
addElementToBulkRequest(org.neolumin.vertexium.Graph graph,
org.elasticsearch.action.bulk.BulkRequest bulkRequest,
IndexInfo indexInfo,
org.neolumin.vertexium.Element element,
org.neolumin.vertexium.Authorizations authorizations) |
protected void |
addPropertyToIndex(IndexInfo indexInfo,
String propertyName,
Class dataType,
boolean analyzed,
Double boost) |
String |
createJsonForElement(org.neolumin.vertexium.Graph graph,
org.neolumin.vertexium.Element element,
org.neolumin.vertexium.Authorizations authorizations) |
org.neolumin.vertexium.SearchIndexSecurityGranularity |
getSearchIndexSecurityGranularity() |
org.neolumin.vertexium.query.GraphQuery |
queryGraph(org.neolumin.vertexium.Graph graph,
String queryString,
org.neolumin.vertexium.Authorizations authorizations) |
org.neolumin.vertexium.query.SimilarToGraphQuery |
querySimilarTo(org.neolumin.vertexium.Graph graph,
String[] similarToFields,
String similarToText,
org.neolumin.vertexium.Authorizations authorizations) |
void |
removeElement(org.neolumin.vertexium.Graph graph,
org.neolumin.vertexium.Element element,
org.neolumin.vertexium.Authorizations authorizations) |
addElements, addPropertiesToIndex, addPropertyDefinition, addPropertyToIndex, addTypeToMapping, clearData, createIndex, createIndexAddFieldsToElementType, createIndexInfo, doBulkRequest, ensureIndexCreatedAndInitialized, ensureMappingsCreated, flush, getAllPropertyDefinitions, getClient, getConfig, getIndexName, getIndexNames, getIndexNamesAsArray, isFieldBoostSupported, isQuerySimilarToTextSupported, loadIndexInfos, loadPropertyDefinitions, queryVertex, removeProperty, removeProperty, shouldIgnoreType, shutdownpublic ElasticSearchSearchIndex(org.neolumin.vertexium.GraphConfiguration config)
public void addElement(org.neolumin.vertexium.Graph graph,
org.neolumin.vertexium.Element element,
org.neolumin.vertexium.Authorizations authorizations)
addElement in interface org.neolumin.vertexium.search.SearchIndexaddElement in class ElasticSearchSearchIndexBasepublic void addElementToBulkRequest(org.neolumin.vertexium.Graph graph,
org.elasticsearch.action.bulk.BulkRequest bulkRequest,
IndexInfo indexInfo,
org.neolumin.vertexium.Element element,
org.neolumin.vertexium.Authorizations authorizations)
addElementToBulkRequest in class ElasticSearchSearchIndexBasepublic void removeElement(org.neolumin.vertexium.Graph graph,
org.neolumin.vertexium.Element element,
org.neolumin.vertexium.Authorizations authorizations)
removeElement in interface org.neolumin.vertexium.search.SearchIndexremoveElement in class ElasticSearchSearchIndexBasepublic String createJsonForElement(org.neolumin.vertexium.Graph graph, org.neolumin.vertexium.Element element, org.neolumin.vertexium.Authorizations authorizations)
protected void addPropertyToIndex(IndexInfo indexInfo, String propertyName, Class dataType, boolean analyzed, Double boost) throws IOException
addPropertyToIndex in class ElasticSearchSearchIndexBaseIOExceptionpublic org.neolumin.vertexium.query.GraphQuery queryGraph(org.neolumin.vertexium.Graph graph,
String queryString,
org.neolumin.vertexium.Authorizations authorizations)
queryGraph in interface org.neolumin.vertexium.search.SearchIndexqueryGraph in class ElasticSearchSearchIndexBasepublic org.neolumin.vertexium.query.SimilarToGraphQuery querySimilarTo(org.neolumin.vertexium.Graph graph,
String[] similarToFields,
String similarToText,
org.neolumin.vertexium.Authorizations authorizations)
querySimilarTo in interface org.neolumin.vertexium.search.SearchIndexquerySimilarTo in class ElasticSearchSearchIndexBasepublic org.neolumin.vertexium.SearchIndexSecurityGranularity getSearchIndexSecurityGranularity()
getSearchIndexSecurityGranularity in interface org.neolumin.vertexium.search.SearchIndexgetSearchIndexSecurityGranularity in class ElasticSearchSearchIndexBaseCopyright © 2014–2015. All rights reserved.