public class DefaultSearchIndex extends Object implements SearchIndex
| Constructor and Description |
|---|
DefaultSearchIndex(GraphConfiguration configuration) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeletePropertiespublic DefaultSearchIndex(GraphConfiguration configuration)
public void addElement(Graph graph, Element element, Authorizations authorizations)
addElement in interface SearchIndexpublic <TElement extends Element> void updateElement(Graph graph, ExistingElementMutation<TElement> mutation, Authorizations authorizations)
updateElement in interface SearchIndexpublic void markElementHidden(Graph graph, Element element, Visibility visibility, Authorizations authorizations)
markElementHidden in interface SearchIndexpublic void markElementVisible(Graph graph, Element element, Visibility visibility, Authorizations authorizations)
markElementVisible in interface SearchIndexpublic void markPropertyHidden(Graph graph, Element element, Property property, Visibility visibility, Authorizations authorizations)
markPropertyHidden in interface SearchIndexpublic void markPropertyVisible(Graph graph, Element element, Property property, Visibility visibility, Authorizations authorizations)
markPropertyVisible in interface SearchIndexpublic void alterElementVisibility(Graph graph, Element element, Visibility oldVisibility, Visibility newVisibility, Authorizations authorizations)
alterElementVisibility in interface SearchIndexpublic void deleteElement(Graph graph, Element element, Authorizations authorizations)
deleteElement in interface SearchIndexpublic void deleteProperty(Graph graph, Element element, PropertyDescriptor property, Authorizations authorizations)
deleteProperty 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 MultiVertexQuery queryGraph(Graph graph, String[] vertexIds, String queryString, Authorizations authorizations)
queryGraph in interface SearchIndexpublic VertexQuery queryVertex(Graph graph, Vertex vertex, String queryString, Authorizations authorizations)
queryVertex in interface SearchIndexpublic void flush(Graph graph)
flush in interface SearchIndexpublic void clearCache()
clearCache in interface SearchIndexpublic void shutdown()
shutdown in interface SearchIndexpublic boolean isFieldBoostSupported()
isFieldBoostSupported in interface SearchIndexpublic void truncate(Graph graph)
truncate in interface SearchIndexpublic void drop(Graph graph)
drop 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 SearchIndexpublic boolean isFieldLevelSecuritySupported()
isFieldLevelSecuritySupported in interface SearchIndexpublic void addElementExtendedData(Graph graph, Element element, Iterable<ExtendedDataMutation> extendedDatas, Authorizations authorizations)
addElementExtendedData in interface SearchIndexpublic void addExtendedData(Graph graph, Iterable<ExtendedDataRow> extendedDatas, Authorizations authorizations)
addExtendedData in interface SearchIndexpublic void deleteExtendedData(Graph graph, ExtendedDataRowId extendedDataRowId, Authorizations authorizations)
deleteExtendedData in interface SearchIndexpublic void deleteExtendedData(Graph graph, Element element, String tableName, String row, String columnName, String key, Visibility visibility, Authorizations authorizations)
deleteExtendedData in interface SearchIndexpublic Query queryExtendedData(Graph graph, Element element, String tableName, String queryString, Authorizations authorizations)
queryExtendedData in interface SearchIndexCopyright © 2014–2018. All rights reserved.