Documentation

ScopeSearchIndexManager
in package
implements ScopeSearchIndexManagerInterface

Interfaces, Classes, Traits and Enums

ScopeSearchIndexManagerInterface

Table of Contents

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

Properties

Methods

__construct()

public __construct(mixed $core, string $bucketName, string $scopeName) : mixed
Parameters
$core : mixed
$bucketName : string
$scopeName : string
Return values
mixed

analyzeDocument()

Fetches the analysis of a document against a specific scope-level 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.7
Return values
array<string|int, mixed>

        

Search results