Questions tagged [search-suggestion]

A search suggestion can be made by a search engine when it discovers that the enduser entered poor or unknown keywords. The search engine will then suggest better keywords as in "Don't you mean [keywords]?".

314 questions
5
votes
2 answers

Solr Suggester - How do I filter autocomplete results

I want to filter the auto complete results from my suggester Lets say I have a book table Table (Id Guid, BookName String, BookOwner id) I want each user to get a list to autocomplete from its own books. I want to add something like…
Bick
  • 17,833
  • 52
  • 146
  • 251
5
votes
1 answer

How to enable fuzziness for phrase queries in ElasticSearch

We're using ElasticSearch for searching through millions of tags. Our users should be able to include boolean operators (+, -, "xy", AND, OR, brackets). If no hits are returned, we fall back to a spelling suggestion provided by ES and search again.…
5
votes
3 answers

Configuring Solr for Suggestive/Predictive Auto Complete Search

We are working on integrating Solr 3.6 to an eCommerce site. We have indexed data & search is performing really good. We have some difficulties figuring how to use Predictive Search / Auto Complete Search Suggestion. Also interested to learn the…
Krunal
  • 2,967
  • 8
  • 45
  • 101
4
votes
2 answers

SOLR 6.4.1 Suggester is stubbornly case-sensitive, how to make case-insensitive?

I've tried everything under the sun (well it is called solr after all) to make solr Suggest case-insensitive, but it stubbornly continues to be case-sensitive. This returns a suggestion of…
Magnus
  • 10,736
  • 5
  • 44
  • 57
4
votes
1 answer

Google Transliteration - word suggestion while typing

I am using google transliteration in my project. I tried the code snippet provided on Google Transliterate API Developer's Guide. However, less documentation is available and I have very less idea about this. The code works in a way that it…
Shri
  • 834
  • 1
  • 12
  • 36
4
votes
1 answer

Android Search Suggestions within a Fragment

Many apps (Google Play Music, Contacts, Youtube, Spotify) provide search suggestions in what appears to be a custom Fragment whenever you start typing. Implementing the standard search interface found here: …
4
votes
2 answers

Generating search term suggestions with Whoosh?

I've got a set of documents in a Whoosh index, and I want to provide a search term suggestion feature. So If you type "pop", some suggestions that could come up might be: popcorn popular pope Poplar Film pop culture I've got the terms that should…
babbageclunk
  • 8,523
  • 1
  • 33
  • 37
4
votes
1 answer

What Elasticsearch Analyzer to use for this completion suggester?

I'm very new to Elasticsearch and am currently trying to get my head around analyzers with respect to the completion suggester I have a list of places like so: London The London Eye The London Dungeon etc... By setting the mapping for a completion…
4
votes
1 answer

Accessing Payloads in Elasticsearch Suggestion

I am currently using the Java API for Elasticsearch. A suggestion query, returns multiple results 'Suggestion', which I want to be able to iterate over and access the variables. This is done by: val builder =…
redrubia
  • 2,256
  • 6
  • 33
  • 47
4
votes
1 answer

ElasticSearch term suggest on analyzed field returns no suggestions

I'd like to use ElasticSearch term suggest feature for spelling corrections (Did you mean ...?). Here's the official documentation: Here's my (shortened to the basics) scheme: { "settings": { "analysis": { "filter": { …
Simon Steinberger
  • 6,605
  • 5
  • 55
  • 97
3
votes
1 answer

Show Search Suggestions while typing in landscape-mode

i already get the search suggestion while typing in the searchfield of the search-dialog. While typing in Portrait-Mode, the result are listed under the search-dialog. But when i change into landscape-mode, the text-input-field of the searchdialog…
Tschakle
  • 225
  • 1
  • 4
  • 14
3
votes
1 answer

Completion suggester and exact matches in Elasticsearch

I'm a bit surprised by the behavior that elasticsearch completion has sometimes. I've set up a mapping that has a suggest field. In the input of the suggest field I put 3 elements that are the name, the isin and the issuer of one security. Here is…
Christophe
  • 2,131
  • 2
  • 21
  • 35
3
votes
0 answers

How to use customized icon for Firefox omnibox search suggestion

I want to my Firefox extension could use Firefox omnibox and return user some suggestions when input changed. At current stage, the omnibox could give me some suggestions, but the icon of the suggestion is still default instead of icon of the…
3
votes
1 answer

Get an output different from input with elasticsearch completion suggester

I recently upgraded from Elasticsearch 1.4 to 5.4 and I'm struggling to migrate my autocomplete queries efficiently. The problem is that I want to have a completion suggester where the output is different from the input. The documents I store have…
WhiteFangs
  • 664
  • 10
  • 18
3
votes
1 answer

ElasticSearch 5 adding context to SuggestionBuilders

I am working on ES5 through java, and am trying to add context to a CompletionSuggestionBuilder. I have a map of String objects that need to be added. The code I have so far is - Map context = ... CompletionSuggestionBuilder csb =…
user2689782
  • 747
  • 14
  • 31
1 2
3
20 21