$_index_name
$_index_name :
The "index" to use (Solr has single index but we add this as query constraint as necessary
Solr implementation of the indexer backend.
This works by communicating with solr over http requests.
$factory : \midcom_services_indexer_solrDocumentFactory
The xml factory class
index(array<mixed,\midcom_services_indexer_document> $documents) : boolean
Adds a document to the index.
Any warning will be treated as error.
Note, that $document may also be an array of documents without further changes to this backend.
array<mixed,\midcom_services_indexer_document> | $documents | A list of objects. |
Indicating success.
query( $querystring, \midcom_services_indexer_filter $filter = null, array $options = array()) : array<mixed,\midcom_services_indexer_document>
Query the index and, if set, restrict the query by a given filter.
$querystring | ||
\midcom_services_indexer_filter | $filter | An optional filter used to restrict the query. This may be null indicating no filter. |
array | $options | Options to modify the backend behavior |
An array of documents matching the query