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
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' : {
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 }
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': {
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