Plentymarkets interface documentation
ElasticSearch
Contracts
ElasticSearchMultiSearchRepositoryContract
foo
Namespace
Plenty\Modules\Cloud\ElasticSearch\Contracts
Methods
public setIndex($index):Plenty\Modules\Cloud\ElasticSearch\Contracts\ElasticSearchMultiSearchRepositoryContract
Return type: ElasticSearchMultiSearchRepositoryContract
Name |
Type |
Description |
|
public addSearch($search):Plenty\Modules\Cloud\ElasticSearch\Contracts\ElasticSearchMultiSearchRepositoryContract
Return type: ElasticSearchMultiSearchRepositoryContract
Name |
Type |
Description |
|
public execute():array
ElasticSearchSearchRepositoryContract
foo
Namespace
Plenty\Modules\Cloud\ElasticSearch\Contracts
Methods
public setIndex($index):Plenty\Modules\Cloud\ElasticSearch\Contracts\ElasticSearchSearchRepositoryContract
Return type: ElasticSearchSearchRepositoryContract
Name |
Type |
Description |
|
public addSearch($search):Plenty\Modules\Cloud\ElasticSearch\Contracts\ElasticSearchSearchRepositoryContract
Return type: ElasticSearchSearchRepositoryContract
Name |
Type |
Description |
|
public execute():array
Lib
Collapse
BaseCollapse
foo
Namespace
Plenty\Modules\Cloud\ElasticSearch\Lib\Collapse
Methods
public addInnerHit($innerHit):void
Name |
Type |
Description |
|
public toArray():array
Index
IndexInterface
to be written
Namespace
Plenty\Modules\Cloud\ElasticSearch\Lib\Index
Methods
public getType():string
public getPlentyId():int
public getVersion():int
public getDomain():string
public getIdentifier():string
public isAvailable():bool
public isReady():bool
public getSettingsClassName():string
public getMappingClassName():string
public getDynamicTemplateClassName():string
public getMeta():array
public getInfo():Plenty\Modules\Cloud\ElasticSearch\Lib\Index\Info\InfoInterface
Return type: InfoInterface
public resetAvailibilityStatus():void
public hasUpdatedAt():bool
public hasAllField():bool
public getNext():Plenty\Modules\Cloud\ElasticSearch\Lib\Index\NextIndex
Return type: NextIndex
public getScrollRepositoryClassName():string
public refresh():bool
public getElasticSearchVersion():float
NextIndex
to bew written
Namespace
Plenty\Modules\Cloud\ElasticSearch\Lib\Index
Methods
public getType():void
public getVersion():void
public getDomain():string
public getSettingsClassName():void
public getMappingClassName():void
public getDynamicTemplateClassName():void
public getNext():void
public getScrollRepositoryClassName():void
public getElasticSearchVersion():void
public hasUpdatedAt():bool
public isReady():bool
public maySynchronize():bool
Vorrübergehender Cheat - alles was noch keine Version hat, darf nicht über die "neuen" Prozesse befüllt werden!
public getPlentyId():void
public getIdentifier():string
public isAvailable():bool
Checks whether ElasticSearch is generally available, and whether the index has already been created.
public setRefreshInterval($value):void
Name |
Type |
Description |
|
public resetAvailibilityStatus():void
public getMeta():array
public getInfo():Plenty\Modules\Cloud\ElasticSearch\Lib\Index\Info\BaseInfo
Return type: BaseInfo
public mayBeQueuedForCreation():bool
public hasAllField():bool
public refresh():void
ReindexIndex
to bew written
Namespace
Plenty\Modules\Cloud\ElasticSearch\Lib\Index
Methods
public getType():void
public getVersion():void
public getDomain():string
public getMeta():array
public getSettingsClassName():void
public getMappingClassName():void
public getDynamicTemplateClassName():void
public getNext():void
public getScrollRepositoryClassName():void
public hasUpdatedAt():bool
public isReady():bool
public maySynchronize():bool
Vorrübergehender Cheat - alles was noch keine Version hat, darf nicht über die "neuen" Prozesse befüllt werden!
public getPlentyId():void
public getIdentifier():string
public isAvailable():bool
Checks whether ElasticSearch is generally available, and whether the index has already been created.
public setRefreshInterval($value):void
Name |
Type |
Description |
|
public resetAvailibilityStatus():void
public getInfo():Plenty\Modules\Cloud\ElasticSearch\Lib\Index\Info\BaseInfo
Return type: BaseInfo
public mayBeQueuedForCreation():bool
public hasAllField():bool
public refresh():void
public getElasticSearchVersion():void
Output
Processor
BaseProcessor
to be written
Namespace
Plenty\Modules\Cloud\ElasticSearch\Lib\Processor
Methods
public addMutator($mutator):Plenty\Modules\Cloud\ElasticSearch\Lib\Processor\BaseProcessor
Return type: BaseProcessor
Name |
Type |
Description |
|
public addCondition($conditions):Plenty\Modules\Cloud\ElasticSearch\Lib\Processor\BaseProcessor
Return type: BaseProcessor
Name |
Type |
Description |
|
public process($data):array
Name |
Type |
Description |
|
public getDependencies():array
DocumentInnerHitsToRootProcessor
DocumentInnerHitsToRootProcessor
Namespace
Plenty\Modules\Cloud\ElasticSearch\Lib\Processor
Methods
public process($data):array
Name |
Type |
Description |
|
public getDependencies():array
public addMutator($mutator):Plenty\Modules\Cloud\ElasticSearch\Lib\Processor\BaseProcessor
Return type: BaseProcessor
Name |
Type |
Description |
|
public addCondition($conditions):Plenty\Modules\Cloud\ElasticSearch\Lib\Processor\BaseProcessor
Return type: BaseProcessor
Name |
Type |
Description |
|
DocumentProcessor
to be written
Namespace
Plenty\Modules\Cloud\ElasticSearch\Lib\Processor
Methods
public process($data):array
Name |
Type |
Description |
|
public getDependencies():array
public addMutator($mutator):Plenty\Modules\Cloud\ElasticSearch\Lib\Processor\BaseProcessor
Return type: BaseProcessor
Name |
Type |
Description |
|
public addCondition($conditions):Plenty\Modules\Cloud\ElasticSearch\Lib\Processor\BaseProcessor
Return type: BaseProcessor
Name |
Type |
Description |
|
ProcessorInterface
to be written
Namespace
Plenty\Modules\Cloud\ElasticSearch\Lib\Processor
Methods
public process($data):array
Name |
Type |
Description |
|
public getDependencies():array
SuggestionProcessor
to be written
Namespace
Plenty\Modules\Cloud\ElasticSearch\Lib\Processor
Methods
public getDependencies():array
public addMutator($mutator):Plenty\Modules\Cloud\ElasticSearch\Lib\Processor\BaseProcessor
Return type: BaseProcessor
Name |
Type |
Description |
|
public addCondition($conditions):Plenty\Modules\Cloud\ElasticSearch\Lib\Processor\BaseProcessor
Return type: BaseProcessor
Name |
Type |
Description |
|
public process($data):array
Name |
Type |
Description |
|
Search
BaseSearch
Base class for different Search classes
Namespace
Plenty\Modules\Cloud\ElasticSearch\Lib\Search
Methods
public setIsSourceDisabled($isSourceDisabled):void
Name |
Type |
Description |
|
public setTrackTotalHits($trackTotalHits):void
Name |
Type |
Description |
|
public addFilter($filter):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\BaseSearch
Return type: BaseSearch
Name |
Type |
Description |
|
public addPostFilter($filter):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\BaseSearch
Return type: BaseSearch
Name |
Type |
Description |
|
public addQuery($query):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\BaseSearch
Return type: BaseSearch
Name |
Type |
Description |
|
public addSource($source):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\BaseSearch
Return type: BaseSearch
Name |
Type |
Description |
|
public setSorting($sorting):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\BaseSearch
Return type: BaseSearch
Name |
Type |
Description |
|
public addAggregation($aggregation):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\BaseSearch
Return type: BaseSearch
Name |
Type |
Description |
|
public addSuggestion($suggestion):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\BaseSearch
Return type: BaseSearch
Name |
Type |
Description |
|
public setPage($page, $rowsPerPage):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\BaseSearch
Return type: BaseSearch
Name |
Type |
Description |
|
||
|
public setPagination($pagination):void
Name |
Type |
Description |
|
public setCollapse($collapse):void
Name |
Type |
Description |
|
public getSources():void
public setScoreModifier($scoreModifier):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\BaseSearch
Return type: BaseSearch
Name |
Type |
Description |
|
public setMaxResultWindow($maxResults = 10000):void
Name |
Type |
Description |
|
public setIndex($index):void
Name |
Type |
Description |
|
public isSearchAfter():void
public getFilterRaw():void
public getQueriesRaw():void
public getAggregationsRaw():array
public getSorting():void
public getScoreModifier():void
public process($data):void
Name |
Type |
Description |
|
public getName():string
public toArray():array
Get the instance as an array.
SearchGroup
To be written…
Namespace
Plenty\Modules\Cloud\ElasticSearch\Lib\Search
Methods
public addSearch($search):void
Name |
Type |
Description |
|
public addFilter($filter):void
Name |
Type |
Description |
|
public addQuery($query):void
Name |
Type |
Description |
|
SearchInterface
To be written
Namespace
Plenty\Modules\Cloud\ElasticSearch\Lib\Search
Methods
public addFilter($filter):void
Name |
Type |
Description |
|
public addQuery($query):void
Name |
Type |
Description |
|
public addSource($source):void
Name |
Type |
Description |
|
public setSorting($sorting):void
Name |
Type |
Description |
|
public addAggregation($aggregation):void
Name |
Type |
Description |
|
public addSuggestion($suggestion):void
Name |
Type |
Description |
|
public process($data):void
Name |
Type |
Description |
|
public getName():string
public setMaxResultWindow($maxResults = 10000):void
Name |
Type |
Description |
|
public setPagination($pagination):void
Name |
Type |
Description |
|
public isSearchAfter():void
public toArray():array
Get the instance as an array.
Sorting
MultipleSorting
To be written
Namespace
Plenty\Modules\Cloud\ElasticSearch\Lib\Sorting
Methods
public addSorting($sorting):void
Name |
Type |
Description |
|
public add($path, $order = \Plenty\Modules\Cloud\ElasticSearch\Lib\ElasticSearch::SORTING_ORDER_ASC, $nestedPath = null):void
Name |
Type |
Description |
|
||
|
||
|
public toArray():array
SingleNestedSorting
To be written
Namespace
Plenty\Modules\Cloud\ElasticSearch\Lib\Sorting
Methods
public toArray():array
Source
ExcludeSource
foo
Namespace
Plenty\Modules\Cloud\ElasticSearch\Lib\Source
Methods
public toArray():array
public getPrefix():string
public activateAll():Plenty\Modules\Cloud\ElasticSearch\Lib\Source\SourceInterface
Return type: SourceInterface
public activate():Plenty\Modules\Cloud\ElasticSearch\Lib\Source\SourceInterface
Return type: SourceInterface
public activateList($fields):Plenty\Modules\Cloud\ElasticSearch\Lib\Source\BaseSource
Return type: BaseSource
Name |
Type |
Description |
|
IncludeSource
foo
Namespace
Plenty\Modules\Cloud\ElasticSearch\Lib\Source
Methods
public toArray():array
public getPrefix():string
public activateAll():Plenty\Modules\Cloud\ElasticSearch\Lib\Source\SourceInterface
Return type: SourceInterface
public activate():Plenty\Modules\Cloud\ElasticSearch\Lib\Source\SourceInterface
Return type: SourceInterface
public activateList($fields):Plenty\Modules\Cloud\ElasticSearch\Lib\Source\BaseSource
Return type: BaseSource
Name |
Type |
Description |
|
IndependentSource
foo
Namespace
Plenty\Modules\Cloud\ElasticSearch\Lib\Source
Methods
public toArray():array
public getPrefix():string
public activateAll():Plenty\Modules\Cloud\ElasticSearch\Lib\Source\SourceInterface
Return type: SourceInterface
public activate():Plenty\Modules\Cloud\ElasticSearch\Lib\Source\SourceInterface
Return type: SourceInterface
public activateList($fields):Plenty\Modules\Cloud\ElasticSearch\Lib\Source\BaseSource
Return type: BaseSource
Name |
Type |
Description |
|
Collapse
Data
Document
DocumentInterface
to be written
Namespace
Plenty\Modules\Cloud\ElasticSearch\Lib\Data\Document
Methods
public getIndex():Plenty\Modules\Cloud\ElasticSearch\Lib\Index\IndexInterface
Return type: IndexInterface
public getSize():int
public toArray():array
Get the instance as an array.
Index
Mapping
Type
Complex
ComplexPropertyInterface
to be written
Namespace
Plenty\Modules\Cloud\ElasticSearch\Lib\Index\Mapping\Property\Type\Complex
Methods
public getProperties():array
public addProperty($property):void
Name |
Type |
Description |
|
public setIndex($index):void
Name |
Type |
Description |
|
public toArray():array
Get the instance as an array.
Filter
BoolShouldStatementFilter
Combine multiple filters. minimum should match defines how many statements need to match
Namespace
Plenty\Modules\Cloud\ElasticSearch\Lib\Query\Type\Filter
Methods
public toArray():array
public setMinimumShouldMatch($minimumShouldMatch):void
Name |
Type |
Description |
|
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
Query
MultiMatchQuery
to be written
Namespace
Plenty\Modules\Cloud\ElasticSearch\Lib\Query\Type\Query
Methods
public addField($field, $boost):void
Name |
Type |
Description |
|
||
|
public toArray():array
public setType($type):void
Name |
Type |
Description |
|
public setOperator($operator):Plenty\Modules\Cloud\ElasticSearch\Lib\Query\Type\Query\MultiMatchQuery
Return type: MultiMatchQuery
Name |
Type |
Description |
|
public setFuzzy($fuzzy):Plenty\Modules\Cloud\ElasticSearch\Lib\Query\Type\Query\MultiMatchQuery
Return type: MultiMatchQuery
Name |
Type |
Description |
|
ScoreModifier
RandomScore
to be written
Namespace
Plenty\Modules\Cloud\ElasticSearch\Lib\Query\Type\ScoreModifier
Methods
public getFunction():array
public getBoostMode():void
public getSeed():string
public setSeed($seed):Plenty\Modules\Cloud\ElasticSearch\Lib\Query\Type\ScoreModifier\RandomScore
Return type: RandomScore
Name |
Type |
Description |
|
public setQuery($query):void
Name |
Type |
Description |
|
public toArray():void
Statement
Filter
MultiMatchFilter
to be written
Namespace
Plenty\Modules\Cloud\ElasticSearch\Lib\Query\Statement\Filter
Methods
public addField($field, $boost):void
Name |
Type |
Description |
|
||
|
public toArray():array
public setType($type):void
Name |
Type |
Description |
|
public setOperator($operator):Plenty\Modules\Cloud\ElasticSearch\Lib\Query\Statement\Filter\MultiMatchFilter
Return type: MultiMatchFilter
Name |
Type |
Description |
|
public setFuzzy($fuzzy):Plenty\Modules\Cloud\ElasticSearch\Lib\Query\Statement\Filter\MultiMatchFilter
Return type: MultiMatchFilter
Name |
Type |
Description |
|
Search
Aggregation
AggregationInterface
To be written
Namespace
Plenty\Modules\Cloud\ElasticSearch\Lib\Search\Aggregation
Methods
public addSource($source):void
Name |
Type |
Description |
|
public process($data):void
Name |
Type |
Description |
|
public getName():string
public toArray():array
Get the instance as an array.
Document
DocumentSearch
foo
Namespace
Plenty\Modules\Cloud\ElasticSearch\Lib\Search\Document
Methods
public toArray():array
public process($data):array
Name |
Type |
Description |
|
public getFilter():array
public getPostFilter():array
public getQuery():array
public getAggregations():array
public getSuggestions():array
public getSources():void
public addDependenciesToSource($sources):void
Name |
Type |
Description |
|
public getName():void
public setName($name):void
Name |
Type |
Description |
|
public setIsSourceDisabled($isSourceDisabled):void
Name |
Type |
Description |
|
public setTrackTotalHits($trackTotalHits):void
Name |
Type |
Description |
|
public addFilter($filter):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\BaseSearch
Return type: BaseSearch
Name |
Type |
Description |
|
public addPostFilter($filter):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\BaseSearch
Return type: BaseSearch
Name |
Type |
Description |
|
public addQuery($query):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\BaseSearch
Return type: BaseSearch
Name |
Type |
Description |
|
public addSource($source):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\BaseSearch
Return type: BaseSearch
Name |
Type |
Description |
|
public setSorting($sorting):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\BaseSearch
Return type: BaseSearch
Name |
Type |
Description |
|
public addAggregation($aggregation):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\BaseSearch
Return type: BaseSearch
Name |
Type |
Description |
|
public addSuggestion($suggestion):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\BaseSearch
Return type: BaseSearch
Name |
Type |
Description |
|
public setPage($page, $rowsPerPage):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\BaseSearch
Return type: BaseSearch
Name |
Type |
Description |
|
||
|
public setPagination($pagination):void
Name |
Type |
Description |
|
public setCollapse($collapse):void
Name |
Type |
Description |
|
public setScoreModifier($scoreModifier):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\BaseSearch
Return type: BaseSearch
Name |
Type |
Description |
|
public setMaxResultWindow($maxResults = 10000):void
Name |
Type |
Description |
|
public setIndex($index):void
Name |
Type |
Description |
|
public isSearchAfter():void
public getFilterRaw():void
public getQueriesRaw():void
public getAggregationsRaw():array
public getSorting():void
public getScoreModifier():void
Suggestion
SuggestionInterface
To be written
Namespace
Plenty\Modules\Cloud\ElasticSearch\Lib\Search\Suggestion
Methods
public setText($text):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\Suggestion\SuggestionInterface
Return type: SuggestionInterface
Name |
Type |
Description |
|
public process($data):array
Name |
Type |
Description |
|
public getName():string
public toArray():array
Get the instance as an array.
TermSuggestion
foo
Namespace
Plenty\Modules\Cloud\ElasticSearch\Lib\Search\Suggestion
Methods
public toArray():array
public process($data):array
Name |
Type |
Description |
|
public setText($text):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\Suggestion\BaseSuggestion
Return type: BaseSuggestion
Name |
Type |
Description |
|
public getName():string
public getField():string
Source
Condition
Mutator
BaseMutator
to be written
Namespace
Plenty\Modules\Cloud\ElasticSearch\Lib\Source\Mutator
Methods
public getDependencies():array
public mutate($data):array
Name |
Type |
Description |
|
Mutator
BuiltIn
LanguageMutator
foo
Namespace
Plenty\Modules\Cloud\ElasticSearch\Lib\Source\Mutator\BuiltIn
Methods
public mutate($data):array
Name |
Type |
Description |
|
public addLanguage($language):void
Name |
Type |
Description |
|
public setLanguages($languages):void
Name |
Type |
Description |
|
public setSetLanguageAsIndex($setLanguageAsIndex):void
Name |
Type |
Description |
|
public static isSeqArray($array):void
Name |
Type |
Description |
|
public getDependencies():array