How the Elasticsearch Suggester run when combining with query?

30 Views Asked by At

I’m pretty new to Elasticsearch and planning to use the phrase suggester on my project. As mentioned in the official document the default suggest mode is “missing” means the suggestion would be generated if it cannot find the same phrase on the index. So I’m wondering if I add the suggester on the same request with the query does it mean the suggester would be executed after the query and only if it cannot find the phrase on index? Or the suggested would be executed separately by start from looking for the phase on the index?

My concern is I don’t want the suggester to run if it found the phrase in the index while the query is execute

0

There are 0 best solutions below