AdvancedObjectSearch


#1

Hi,

anyone with experience of using AdvancedObjectSearch with fuzzy logic including misspelled words? Is there such options in the setup? Is the ElasticSearch native functionality for this easy to reach using your own cusomization (ie contribution) to the bundle?

Cheers
Johan Lindgren


#2

Hi,
should be easily possible.

Search is generated in this service here. So when you deliver a BuilderInterface as $fullTextQuery, this is used 1:1.
So, what would be necessary is to fire an event here (and other places for batch assignment etc.) that allows to modify the fulltext query param and make a BuilderInferface out of it that introduces a query with the fuzzy logic.

BR
Christian


#3

Thanks!

We will try this!