Option 'svESE_AutocompleteTypes' description incomplete

nocte

Member
Reactions
5
Just a cosmetic one:

The description of the option 'svESE_AutocompleteTypes' seem to be incomplete and the named classes have an 'I' too much in their names:

To specify the template used, the search handlers must implement SV\ElasticSearchEssentials\Entity\IIAutoComplete and use SV\ElasticSearchEssentials\Entity\IAutoCompleteTrait on the content type and .
 
Fixed for the next version.

Relevant text;

List of content types which can participate in autocomplete queries.
This controls what is queries, not what is indexed

To implement additional types;
  • The relevant entity must implement SV\ElasticSearchEssentials\Entity\IAutoComplete and should use SV\ElasticSearchEssentials\Entity\AutoCompleteTrait
  • The relevant search handler must implement SV\ElasticSearchEssentials\Entity\IResultAutoComplete
  • The relevant search handler should implement SV\ElasticSearchEssentials\Search\Data\IContentRestriction (using SV\ElasticSearchEssentials\Search\Data\ContentRestrictionTrait)
 

Users who are viewing this thread

Back
Top