Hi there,
I have a question concerning the decompounding of the search term.
Use case:
- Search is a multi match search on "name" and "category"
- cross_fields is used: each of the search terms need to be in one of the
searched fields - There is a product named "holzspiralbohrer"
- There is a product named "bohrer" in the category "holz"
-User is looking for "holzspiralbohrer" but doesn't know the exact
terminology and types in the search term "holzbohrer"
In order to deliver results for "holzbohrer" I wanted to decompound the
search term into "holz" and "bohrer".
To deliver the proper result, I would need to define something like this
rule:
IF a search word gets decompounded ("holzbohrer" -> "holz" "bohrer")
THEN the decompounded parts should BOTH match in ONE field
In the stated example:
-"holzspiralbohrer" should be in the search results
-"bohrer" in the category "holz" shouldn't be
Is there any way of realizing this?
Many thanks in advance!
Best regards,
Bernhardt
--
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/3faedbcd-8759-4d3c-924a-6e797acfb912%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.