Role of the analyzer in the completion suggester

2015-01-20 Thread Michele Palmia
The completion suggester is based on a field that has to be mapped with type *completion.* This has by default index- and search-analyzer set to *simple*, but a different analyzer can be freely set. After the indexing process, the input text is stored in a finite state transducer, and

Re: Spellchecking with term and phrase suggesters

2014-12-09 Thread Michele Palmia
I'm able to get the phrase suggester to spit out single word suggestions: https://en.wikipedia.org/w/index.php?title=Special% 3ASearchprofile=defaultsearch=gultfulltext=Search So maybe its a problem or your end. If I had to suggest I'd say you might not be including unigrams in your suggest

Spellchecking with term and phrase suggesters

2014-12-05 Thread Michele Palmia
Hi all, I need to set up a system that provides spellchecking functionality on user searches, similar to what Google does with its well known *did-you-mean * suggestions. The *term suggester* works very well for single words, but it doesn't take into account shingles, thus not being able to

Re: Completion suggester troubles

2014-12-05 Thread Michele Palmia
The only way to have results deduplicated seems to be using the same output for the same entry. From the manual http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-suggesters-completion.html#indexing : output - The string to return, if a suggestion matches. This is very

Re: Exclude specific bucket with integer key from term aggregation

2014-08-22 Thread Michele Palmia
a gist demonstrating this: https://gist.github.com/nezda/60932c73a8485e9d9a49 . On Thursday, August 7, 2014 10:54:43 AM UTC-5, Michele Palmia wrote: Hi all! My documents contain an *integer array field* storing the id of tags describing them. Given a specific tag id, *I want to extract a list

Exclude specific bucket with integer key from term aggregation

2014-08-07 Thread Michele Palmia
Hi all! My documents contain an *integer array field* storing the id of tags describing them. Given a specific tag id, *I want to extract a list of top tags that occur most frequently together with the provided one*. I can solve this problem associating a *term aggregation* over the tag id