public class DefaultSearchIndex extends Object implements SearchIndex
CONCEPT_TYPE_FIELD_NAME, EDGE_LABEL_FIELD_NAME| 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, ElementLocation elementLocation, Visibility visibility, Authorizations authorizations)
markElementVisible in interface SearchIndexpublic void markPropertyHidden(Graph graph, ElementLocation elementLocation, Property property, Visibility visibility, Authorizations authorizations)
markPropertyHidden in interface SearchIndexpublic void markPropertyVisible(Graph graph, ElementLocation elementLocation, Property property, Visibility visibility, Authorizations authorizations)
markPropertyVisible in interface SearchIndexpublic <T extends Element> void alterElementVisibility(Graph graph, ExistingElementMutation<T> elementMutation, Visibility oldVisibility, Visibility newVisibility, Authorizations authorizations)
alterElementVisibility in interface SearchIndexpublic void deleteElement(Graph graph, ElementId element, Authorizations authorizations)
deleteElement in interface SearchIndexpublic void deleteElements(Graph graph, Iterable<? extends ElementId> elementIds, Authorizations authorizations)
deleteElements 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, ElementLocation elementLocation, Iterable<ExtendedDataMutation> extendedDatas, Authorizations authorizations)
addElementExtendedData in interface SearchIndexpublic void addExtendedData(Graph graph, ElementLocation elementLocation, Iterable<ExtendedDataRow> extendedDatas, Authorizations authorizations)
addExtendedData in interface SearchIndexpublic void deleteExtendedData(Graph graph, ExtendedDataRowId extendedDataRowId, Authorizations authorizations)
deleteExtendedData in interface SearchIndexpublic Query queryExtendedData(Graph graph, Element element, String tableName, String queryString, Authorizations authorizations)
queryExtendedData in interface SearchIndexpublic void deleteExtendedData(Graph graph, ElementLocation elementLocation, String tableName, String row, String columnName, String key, Visibility visibility, Authorizations authorizations)
deleteExtendedData in interface SearchIndexpublic void enableBulkIngest(boolean enable)
enableBulkIngest in interface SearchIndexpublic int getNumShards()
getNumShards in interface SearchIndexCopyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.