I am already using 1 shard per index, so the query is executing across 2 
shards. I tried setting max_term_freq to 0.999 but was still unable to 
reproduce it in a small corpus.


On Wednesday, May 7, 2014 11:19:24 AM UTC-7, Nikolas Everett wrote:
>
>
>
>
> On Wed, May 7, 2014 at 2:10 PM, Loren <[email protected] <javascript:>>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/fd3278f0-c633-4105-a447-89427d1ace16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to