Hello everybody,
i would like to use boost in the case :
I have a personal index that contains the following properties:
When I do research on fname= 'toto' and sname = 't' I would like my results
are sorted by relevance. For example :
Toto tata
Toto tutu
Toto tttttt
Totoaaaa Tutfut
etc...
But I do not know how to deal with boost. Can you help me please ?
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/7102e10a-a5a2-492e-8f42-7a2b4820f4d9%40googlegroups.com .
For more options, visit https://groups.google.com/d/optout .
Hi Alexandre,
did you have a look at the cross_fields type of the multi match query?
Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.
Using an edge_ngram analyzer this might already solve your problem even
without the need for fine-tuning a boost value.
Best regards,
Hannes
On 06.05.2014 13:57, Alexandre Pinsard wrote:
Hello everybody,
i would like to use boost in the case :
I have a personal index that contains the following properties:
- sname
- fname
- login
When I do research on fname= 'toto' and sname = 't' I would like my results
are sorted by relevance. For example :
- Toto tata
- Toto tutu
- Toto tttttt
- Totoaaaa Tutfut
- etc...
But I do not know how to deal with boost. Can you help me please ?
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/5368D35C.60109%40hkorte.com .
For more options, visit https://groups.google.com/d/optout .