public interface SearchIndex
void addElement(Graph graph, Element element, Authorizations authorizations)
void deleteElement(Graph graph, Element element, Authorizations authorizations)
default void deleteProperties(Graph graph, Element element, Collection<PropertyDescriptor> propertyList, Authorizations authorizations)
void deleteProperty(Graph graph, Element element, PropertyDescriptor property, Authorizations authorizations)
void addElements(Graph graph, Iterable<? extends Element> elements, Authorizations authorizations)
GraphQuery queryGraph(Graph graph, String queryString, Authorizations authorizations)
MultiVertexQuery queryGraph(Graph graph, String[] vertexIds, String queryString, Authorizations authorizations)
VertexQuery queryVertex(Graph graph, Vertex vertex, String queryString, Authorizations authorizations)
void flush(Graph graph)
void shutdown()
boolean isFieldBoostSupported()
void truncate(Graph graph)
void drop(Graph graph)
SearchIndexSecurityGranularity getSearchIndexSecurityGranularity()
boolean isQuerySimilarToTextSupported()
SimilarToGraphQuery querySimilarTo(Graph graph, String[] fields, String text, Authorizations authorizations)
boolean isFieldLevelSecuritySupported()
void alterElementVisibility(Graph graph, Element element, Visibility oldVisibility, Visibility newVisibility, Authorizations authorizations)
Copyright © 2014–2017. All rights reserved.