Handler
        Handler.php
                :
        24
                
    
            Interface
                The Search handler retrieves sets of of Content objects, based on a set of criteria.
Methods¶
                
deleteContent()
            ¶
    
        
        Handler.php
                :
        80
                
    
        Deletes a content object from the index.
| 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $contentId | int | - | - | 
| $versionId | int|null | null | - | 
                
deleteLocation()
            ¶
    
        
        Handler.php
                :
        95
                
    
        Deletes a location from the index.
| 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $locationId | mixed | - | - | 
| $contentId | mixed | - | - | 
                
findContent()
            ¶
    
        
        Handler.php
                :
        35
                
    
        Finds content objects for the given query.
| 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $query | Query | - | - | 
| $languageFilter | array<string|int, mixed> | [] | - | 
Return values
Tags
                
findLocations()
            ¶
    
        
        Handler.php
                :
        55
                
    
        Finds locations for the given $query.
| 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $query | LocationQuery | - | - | 
| $languageFilter | array<string|int, mixed> | [] | - | 
Return values
                
findSingle()
            ¶
    
        
        Handler.php
                :
        46
                
    
        Performs a query for a single content object.
| 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $filter | CriterionInterface | - | - | 
| $languageFilter | array<string|int, mixed> | [] | - | 
Return values
Tags
                
indexContent()
            ¶
    
        
        Handler.php
                :
        72
                
    
        Indexes a content object.
| 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $content | Content | - | - | 
                
indexLocation()
            ¶
    
        
        Handler.php
                :
        87
                
    
        Indexes a Location in the index storage.
| 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $location | Location | - | - | 
                
purgeIndex()
            ¶
    
        
        Handler.php
                :
        100
                
    
        Purges all contents from the index.
| 
                     | 
                
                    
                     | 
            
                
suggest()
            ¶
    
        
        Handler.php
                :
        65
                
    
        Suggests a list of values for the given prefix.
| 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $prefix | string | - | - | 
| $fieldPaths | array<string|int, string> | [] | - | 
| $limit | int | 10 | - | 
| $filter | Criterion|null | null | - |