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
7
votes
3 answers

Android - Prevent text truncation in SearchView suggestions?

The suggestions that appear in the default ListView beneath my SearchView contain text that is truncated. I would like the text to be displayed in its entirety (on multiple lines if necessary). I have come up with two possible ways to solve this…
6
votes
1 answer

Completion Suggester with additional conditions in Elastic Search

I have a index that returns jobs in different languages. I need to search similar jobs as per a single text that to a single language. So let's say, I have set 1 as LanguageId for English. And I want to search jobs matching with account. So if I…
6
votes
1 answer

elasticsearch completion suggester produce duplicate results

I am using elasticsearch completion suggester thesedays, and got some problem that it always produce similar results. Say I search with the following statement: "my_suggestion": { > "text": "ni", > "completion": { > …
vincent17
  • 61
  • 3
6
votes
1 answer

Implementing Suggestions 'xxx in Category' using elasticsearch

I want to implement amazon-like 'in-category' suggestions for products. Amazon proposes to search for a given term in a specific category instead of a global search. This allows for a more specific search and results. Is there a way how to…
paweloque
  • 18,466
  • 26
  • 80
  • 136
6
votes
1 answer

Solr suggester duplicate suggestions

I am trying to use Solr(5)s suggestion. Suggestion works but i am getting recurring suggestions. I tried to use grouping on suggestion, it does not work. How can i prevent recurring suggestions? Here is necessary parts of my schema.xml:
kkurt
  • 410
  • 3
  • 20
6
votes
1 answer

Autocomplete lists in CKEditor

I need to add a functionality to my CKEditor to give suggestions to user when he types '#' in document, the suggestions can change on the fly depending on some other fields on the page. please help
6
votes
1 answer

elasticsearch completion suggest on multifield

I'm trying to get suggestions from a multifield. I can't find examples like this, so maybe it's not the best idea, but I'm interested in your opinion. mapping: POST /authors { "mappings": { "author": { …
Ins
  • 808
  • 6
  • 13
6
votes
2 answers

Create asynchronous ContentProvider for Actionbar SearchView

I have a SearchView in my ActionBar which is connected with a ContentProvider to give search suggestions. These suggestions do not come from a DB (as usual with ContentProvider), but from a web service. That's why I have to handle the Cursor of the…
6
votes
1 answer

add score to elasticsearch completion suggester inputs

I need to implement elasticsearch completion suggester. I have an index mapped like this: { "user": { "properties": { "username": { "index": "not_analyzed", "analyzer": "simple", "type": "string" }, …
bosskovic
  • 2,034
  • 1
  • 14
  • 29
5
votes
3 answers

PHP MySQL Search Suggestions

In my web application there will be several users. and they have their own contents uploaded to my webapp. For each content they upload it has a title, description and tags(keywords). I can write a search script to search for content or user name.…
Jeyanth Kumar
  • 1,589
  • 3
  • 23
  • 48
5
votes
1 answer

Elasticsearch Suggest+Synonyms+fuzziness

I am looking for a way to implement the auto-suggest with synonyms & fuzziness For example, when the user tried to search for "replce ar" My synonym list has ar => audio record So, the result should include the items matching changing audio…
5
votes
3 answers

Sphinx and "did you mean ... ?" suggestions idea. WIll it work?

I'm trying to come up with the fastest way to make search suggestions. At first I thought a Levenstein UDF function combined with a mysql table would do the job. But using levenshtein, mysql would have to go over every row in the table (tons of…
5
votes
0 answers

How to elasticsearch/lucene uses Finite State transducer to make type-ahead/Suggestor search faster

I am trying to build type-ahead search following data. ID DATA STRING id_1 "this is line number one" id_2 "this is line number two" While querying these data, I will give string like: "line one" --> output: id_1 (ID of…
kronak
  • 53
  • 1
  • 3
5
votes
1 answer

Elasticsearch autocomplete or autosuggest by token

I want to create suggestions on how to complete a term based on tokens, similar to google like autocomplete but only with one token or word. I'd like to search across filenames who will be tokenized. E.g. "BRAND_Connect_A1233.jpg" gets tokenized…
5
votes
1 answer

Completion suggester builder for Jest

Is there a built in solution in jest for sending completion suggester requests to elasticsearch? Do I need to implement my own io.searchbox.AbstractAction for that?
bosskovic
  • 2,034
  • 1
  • 14
  • 29
1
2
3
20 21