interface SearchAdapterInterface

Interface Class for Search Adapters

Methods

addToIndex(SearchIndexRecord $searchIndexRecord)

No description

cleanIndex()

Cleans the index (removes all data) and setups structure.

array
getIndexInfo()

Returns an array that contains information about the search index.

removeFromIndex(DocumentIndex $DocumentIndex)

No description

Details

at line 28
addToIndex(SearchIndexRecord $searchIndexRecord)

No description

Parameters

SearchIndexRecord $searchIndexRecord

at line 23
cleanIndex()

Cleans the index (removes all data) and setups structure.

at line 18
array getIndexInfo()

Returns an array that contains information about the search index.

Return Value

array

Array contains information with keys: document_count, instance_list, index_size

at line 33
removeFromIndex(DocumentIndex $DocumentIndex)

No description

Parameters

DocumentIndex $DocumentIndex