Re: TokenStream contract violation: close() call missing

2014-11-06 Thread Richard Tier
post the full stack trace? Mike McCandless http://blog.mikemccandless.com On Wed, Nov 5, 2014 at 7:05 PM, Richard Tier rik...@gmail.com javascript: wrote: An internal error happens when I do a suggest query. I get TokenStream contract violation: close() call missing This only happens

TokenStream contract violation: close() call missing

2014-11-05 Thread Richard Tier
An internal error happens when I do a suggest query. I get TokenStream contract violation: close() call missing This only happens when I add `pre_filter` to the suggest body. { 'text': 'my term', 'suggest' : { 'phrase' : {

suggest next word without suggesting entire field value

2014-10-15 Thread Richard Tier
Hi, I am a bit stuck with suggestions. I would like to suggest the next word, and I would like the suggestion to occur even if the word the user provides is in the middle of a field's value (and not just at the start). e.g., document containing { body: nice quick bronw fox jumped over }

suggest without stemming

2014-08-09 Thread Richard Tier
I am getting suggestions that look like they have gone through a stem filter - e.g., I get languag (stem of language), amaz (stem of amazing). How can I prevent this behaviour? Only suggesting full words would be desirable. My settings and mappings looks like this: 'mappings': { 'file': {

Re: suggest without stemming

2014-08-09 Thread Richard Tier
Another indication that filters are in play with the suggestion is stop words are not included in the suggestions: when I search for text I know to be in the description field a set of printable crds I get suggestions including set printabl card - which seems to have stop words removed and has