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
1
vote
0 answers
elasticsearch formatting company number field format
Question is for analyzing german company numbers.
I want to make the user be able to search numbers with auto-complete (search-as-you-type).
Cases:
So when a user is entering "HRA 123", suggestion "HRA 12345" should come.
Also for "HRA123" => "HRA…

I. T.
- 21
- 4
1
vote
0 answers
elasticsearch autocomplete suggested completion on multiple fields and for multiple fields
So we have 2 cases:
A single search input on the homepage
A orderform with multiple input fields
Resultitems
Homepage single searchfield
Orderingform multiple search fields
So in summary:
On our site users search for companies, select one, and…

I. T.
- 21
- 4
1
vote
0 answers
How to define a field in Solr to get the best suggestion results
Say I have a list of about 17,000 drug names that I want to be able to search: [Acetaminophen, Ibuprofen, Xanax, percocet, etc]. I want to be able to suggest drugs from the list as a user is typing.
However, as I have it, when I type "ibup", the…

David Rozmajzl
- 101
- 1
- 2
1
vote
1 answer
Elasticsearch Suggestions Multi Index and Multi Fields
I have different indexes that contain different fields. And I try to figure out how to get suggests from all indexes and all fields. I know that with GET /_all/_search I can search for results through all indexes. But how can I get all suggestions…

Veronika89
- 41
- 3
1
vote
1 answer
Elasticsearch Phrase Suggestion problem with ngram indexed data
I need to implement a phrase suggester for spell checking querys. I have data indexed with an analyzer that use an edge_ngram tokenizer.
"suggestion_tokenizer": {
"type": "edge_ngram",
"min_gram": 2,
"max_gram": 10,
…

Agustín Venditti
- 21
- 3
1
vote
1 answer
How to get all suggest from an array?
For example this document
{
_index: "documents",
_type: "_doc",
_id: "bjQbFXMBUTNnZQiIspyw",
_score: 1,
_source: {
text: "blablabla",
tags: [
"apple",
"iphone",
"iphonexr"
]
}
When i enter…

パシャ
- 11
- 1
1
vote
1 answer
Word suggestion
Duplicate of how does the google did you mean algorithm work
does anyone know how to write a word suggestion feature like Google's "did you mean?" feature? or know where I can find code samples.
Thanks
sol
1
vote
0 answers
Custom Spell Checker in Swift
I am gonna create a custom keyboard app in ios swift.
Could I use my own dictionary file for the spell checking? In other words, by adding text file including some words, is it possible to add suggestion word and spell checking?

alexei ks
- 11
- 1
- 2
1
vote
2 answers
How can I pause a React-Autosuggest search until after async data is ready?
I have a feature that uses React-Autosuggest to search through a small amount of data, all stored in memory once fetched from the backend. In other words, after the initial bulk fetch, there are no more network calls to power search.
The function I…

Antrikshy
- 2,918
- 4
- 31
- 65
1
vote
1 answer
Elasticsearch - How does one combine term suggestions from multiple fields?
The term suggester documentation lays out the basics of term suggester, but it leaves me wondering how I can find suggestions from multiple fields and combine them. I can probably come up with some implementation after-the-fact, but I'm wondering if…

Kosi
- 263
- 4
- 16
1
vote
0 answers
How does the Elasticsearch compute the _score on Completion Suggest? Why my score is not equal weight?
According the Elasticsearch Document, https://www.elastic.co/guide/en/elasticsearch/reference/6.7/search-suggesters-completion.html, the score is the weight?
I create an example like this, the weight is 5
POST music2/name
{
"suggest" : {
…

sky
- 103
- 1
- 7
1
vote
1 answer
New index creation with new mapping from previously existing index
{
"someindex": {
"aliases": {
"somealias": {}
},
"mappings": {},
"settings": {
"index": {
"number_of_shards": "5",
"provided_name": "someindex",
"creation_date": "1547325991414",
…

jatin mahajan
- 81
- 2
- 7
1
vote
3 answers
Custom Suggestions in Search with custom layout
I have successfully implemented Custom Search suggestions when using the Search Dialog. However currently each suggestions item is just text. I would like to add in a icon on the left. The problem however is that I do not have these pictures…

Leo
- 4,652
- 6
- 32
- 42
1
vote
1 answer
NoSQL - how to implement autosuggest and best matches properly?
We're building a database of cars and their properties, supposed to be stored in a DynamoDB.
Creating a cars table and filling it with objects that has properties like brand, model, year etc is easy.
But we also want a few other features en the…

Esben von Buchwald
- 2,772
- 1
- 29
- 37
1
vote
1 answer
DSE CQL Query for Solr Suggestor
I am using DSE 5.0.1 version. Earlier we used facet query to show search suggestions. For performance reasons , looking for other alternatives to get suggestions and found solr search suggester component. But I couldn't find examples where suggester…

maha
- 53
- 10