Documentation

SearchIndexManager
in package
implements SearchIndexManagerInterface

Interfaces, Classes, Traits and Enums

SearchIndexManagerInterface

Table of Contents

$core  : resource
allowQuerying()  : mixed
Allows querying against the index
analyzeDocument()  : array<string|int, mixed>
Fetches the analysis of a document against a specific index
disallowQuerying()  : mixed
Disallows querying against the index
dropIndex()  : mixed
Drops an index from the server
freezePlan()  : mixed
Freezes the assigment of index partitions to nodes
getAllIndexes()  : array<string|int, mixed>
Fetches all indexes from the server
getIndex()  : SearchIndex
Fetches index with the specified name from the server
getIndexedDocumentsCount()  : int
Retrieves the number of documents that have been indexed for the index
pauseIngest()  : mixed
Pauses updates and maintenance for the index
resumeIngest()  : mixed
Resumes updates and maintenance for the index
unfreezePlan()  : mixed
Unfreezes the assignment of index partitions to nodes
upsertIndex()  : mixed
Upserts index to the server

Properties

Methods

analyzeDocument()

Fetches the analysis of a document against a specific index

public analyzeDocument(string $indexName, mixed $document[, AnalyzeDocumentOptions|null $options = null ]) : array<string|int, mixed>
Parameters
$indexName : string
$document : mixed
$options : AnalyzeDocumentOptions|null = null
Tags
since
4.1.5
Return values
array<string|int, mixed>

        

Search results