public class DefaultSearchIndex extends Object implements SearchIndex
| Constructor and Description |
|---|
DefaultSearchIndex(GraphConfiguration configuration) |
public DefaultSearchIndex(GraphConfiguration configuration)
public void addElement(Graph graph, Element element, Authorizations authorizations)
addElement in interface SearchIndexpublic void removeElement(Graph graph, Element element, Authorizations authorizations)
removeElement in interface SearchIndexpublic void removeProperty(Graph graph, Element element, Property property, Authorizations authorizations)
removeProperty in interface SearchIndexpublic void removeProperty(Graph graph, Element element, String propertyKey, String propertyName, Visibility propertyVisibility, Authorizations authorizations)
removeProperty in interface SearchIndexpublic void addElements(Graph graph, Iterable<? extends Element> elements, Authorizations authorizations)
addElements in interface SearchIndexpublic GraphQuery queryGraph(Graph graph, String queryString, Authorizations authorizations)
queryGraph in interface SearchIndexpublic VertexQuery queryVertex(Graph graph, Vertex vertex, String queryString, Authorizations authorizations)
queryVertex in interface SearchIndexpublic void flush()
flush in interface SearchIndexpublic void shutdown()
shutdown in interface SearchIndexpublic void addPropertyDefinition(PropertyDefinition propertyDefinition)
addPropertyDefinition in interface SearchIndexpublic boolean isFieldBoostSupported()
isFieldBoostSupported in interface SearchIndexpublic void clearData()
clearData in interface SearchIndexpublic SearchIndexSecurityGranularity getSearchIndexSecurityGranularity()
getSearchIndexSecurityGranularity in interface SearchIndexpublic boolean isQuerySimilarToTextSupported()
isQuerySimilarToTextSupported in interface SearchIndexpublic SimilarToGraphQuery querySimilarTo(Graph graph, String[] fields, String text, Authorizations authorizations)
querySimilarTo in interface SearchIndexCopyright © 2014–2015. All rights reserved.