On Wed, May 7, 2014 at 2:10 PM, Loren <[email protected]> wrote: > I'm running 1.1.1. I have found a few odd cases where the phrase suggester > with suggest_mode: missing generates a suggestion even though the query > returns results. I am querying across two indexes (and two types), and in > the cases I have found, the query term only exists in one of the indexes. > When I re-run the query across just one of the indexes/types and then the > other, the suggester behaves as expected. > > I am trying to come up with a curl recreation but I haven't been able to > reproduce it yet in a smaller corpus. Meanwhile, is it possible that there > is a bug in the suggester for suggest_mode: missing where it incorrectly > judges that a term is missing from *all* indexes in the query just > because it's missing from one index in the query? > > Sure!
To get the phrase suggester to spit things out with smaller corpus try setting the shards to 1 and set max_term_freq to .99 or something closer to one the the default. Nik -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAPmjWd0N4G91%3DKG4d%2B53o6mp8RUi_iTBoR4Oh40CrCb-9wMJUQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
