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]?".
Questions tagged [search-suggestion]
314 questions
3
votes
1 answer
CursorAdapter not populating the suggestions of SearchView
I have an array of String elements:
suggestion_name = new String[main_data.getJSONArray("cafe").length()];
which is populated by some JSON data:
for (int i=0; i

Onur Çevik
- 1,560
- 13
- 21
3
votes
0 answers
Elasticsearch - Fuzzy, phrase, completion suggestor and dashes
So I have been asking separate questions trying to achieve the search functionality I would like to achieve but still falling short so thought I would just ask people what they suggest for the optimal Elasticsearch settings, mappings, indexing and…

Robert Garcia
- 416
- 3
- 16
3
votes
2 answers
How is the command suggestion implemented in the bash shell?
gk@Jarvis:~$ sudi
No command 'sudi' found, did you mean:
Command 'sudo' from package 'sudo-ldap' (universe)
Command 'sudo' from package 'sudo' (main)
sudi: command not found
I have currently implemented a simple 'Did you mean..?' for plain English…

Ketcomp
- 434
- 6
- 20
3
votes
2 answers
How to use Elasticsearch suggestions with Spring data?
I'm already able to get suggestions by using cURL (see code blocks). But I need to do this in my code so I can use my custom endpoint TOMCAT_ROOT/suggest?q=el. How can/should I create a query, using Spring Data, to get the same result in Java…

Glenn Van Schil
- 1,059
- 3
- 15
- 33
3
votes
0 answers
elasticsearch phrase suggester java api
The PhraseSuggestionBuilder in 1.6.0 of the elasticsearch java API has a collateQuery method that takes a String.
builder
.collateQuery("\"match\": {\"title\" : \"{{suggestion}}\"}")
.collatePrune(true);
Unfortunately the escaped quotes are…

Tim
- 435
- 1
- 4
- 12
3
votes
2 answers
Solr Suggester - case insensitive
I am trying to work on an autocomplete feature on Solr and the way I found how to do it, is to use Solr Suggester. However, it does not work as expected. If someone invokes…

Ammar
- 5,070
- 8
- 28
- 27
3
votes
1 answer
Android: Add images from url on custom suggest icon on search widget
As the title says I want to add some images from url as icons on custom suggest on search widget. I see on this reference on android.com that I have to use Uri but I don't know how.

billiout
- 695
- 1
- 8
- 22
3
votes
1 answer
Getting frequency for whitespace preserved word in SOLR spell suggestion
I am currently working with SOLR spellcheck feature. I am faced with a problem of not able to find the original frequency for the input when it has whitespaces.
For example,
spellcheck.q=aple returns me origFreq for the word 'aple'
However, when I…

bragboy
- 34,892
- 30
- 114
- 171
3
votes
1 answer
Solr filter query for suggester
I'm using the Solr Suggester Component, and was wondering, if the results can be filtered by the fq parameter. I have a query like…

23tux
- 14,104
- 15
- 88
- 187
3
votes
1 answer
Creating meaningful suggestions based on an array of tags
I have a project where there is a catalogue of items, each with an array of tags. I would like to present items that are similar, based on these tags.
Something like this (but with a much larger data set):
{
"item": {
…

danp
- 14,876
- 6
- 42
- 48
3
votes
1 answer
Android: How to get search suggestions
How to get search suggestions when I type some text in my edittext. I am not talking about the interface, but how do i get the actual suggestions like when you type something in the google search bar.
Are there any APIs available?
Thx!
Rahul.

rahul
- 6,447
- 3
- 31
- 42
2
votes
1 answer
How to get spelling suggestions from synonyms.txt in solr?
I have a list of misspelled and corrected words in synonyms.txt file. How can I use that in solr for spelling suggestions?
e.g. synonyms.txt contains following entries:
laptap => laptop
delll => dell
When I query "laptap" to solr server, I should…

qwerty
- 31
- 1
- 4
2
votes
0 answers
Sitecore 10.1.2 Solr 8.4 Auto Suggester contentField _language for pt-BR is resulting 0 results (suggest.cfq:pt-BR)
I have been working on Implementing Solr Auto Suggestion for my Sitecore search component.
Suggester field is title_t and contextField is _language. For my EN site, I get the right result where contextField _language is passed as suggest.cfq:en in…
2
votes
1 answer
search suggestion based on any letter of string
i am trying to write some java script code the auto suggest based on pretrial strings so to speak
here an example of what i mean:
if we have array of strings =>
[ 'text' , 'apple' , 'texas' , 'time' , 'java' , 'java script' , 'pen' ]
what i want to…

shaalan
- 21
- 1