`client.search()` vague suggest documentation
See original GitHub issueIn the client.search() documentation, when I attempt to use the parameters suggestionField
and suggestionText
, I get error messages that indicate that my input string is null. However, I thought that suggestionText
was supposed to be the key to my input string? Trying to get suggestions based on a user’s query isn’t clearly defined anywhere in the documentation or examples.
{
index: 'random_index',
suggestField: 'suggest',
suggestText: 'query'
}
Error:
UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: [null_pointer_exception] Input string is null
Issue Analytics
- State:
- Created 6 years ago
- Reactions:11
- Comments:11
Top Results From Across the Web
Elasticsearch Node.js client get term suggestions?
1 Answer 1 ... If you mean Completion Suggester, the completion suggester provides auto-complete/search-as-you-type functionality. Share.
Read more >Query Suggestions - Elastic App Search Documentation [8.5]
A Query Suggestion provides recommended queries. It's been called autocomplete, typeahead... It's a feature with many names. Suggestions work against indexed ...
Read more >Error handling — Boto3 Docs 1.26.35 documentation
Using a low-level Amazon SQS client, here's an example of catching a generic or vague exception from the AWS service, and parsing out...
Read more >500 Internal Server Error - HTTP - MDN Web Docs - Mozilla
Usually, this indicates the server cannot find a better 5xx error code to response. Sometimes, server administrators log error responses ...
Read more >EDUC 8112 Module 2 Assignment 2 - Academic Guides
For Module 2, Assignment 2, you will find articles and create a bibliography, ... Focus on the main concepts, avoiding words that are...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@rosman21’s solution works for me after changing
prefix
totext
.Complement suggest is different scenarios from normal suggesters. Here I try in another way which may not work as expected but at least produce certain reasonable result. `{
`