Changing completion suggester input values

(Erik Rijk) #1

Hi all,

Dutch full names consist of several parts like: [Pieter] [de] [groot].
I'm using the "completion suggester" to save the different parts in de input field.

What's the best way to save the data to elasticsearch when it's modified? Maybe first name isn't the best example because it probably won't change.

I can update the full name field in the document quite easy.

I'm using php / Zend Framework 2 / Doctrine 2

Is the completion suggester good practice or should I use Ngrams?

(system) #2