I have an index with a bunch of products. Among them there are "...smart watch phone..." and "smartphone" products. I used a dictionary_decompounder filter so that even when I search for "smart phone", products with "smartphone" will come up.
However still the products with "...smart watch phone..." description appear first in the list. What i need is to get first the products with "...smartphone..." description.
Is there a way to configure the decompounded words so that they have the highest relevance?
The problem with decompounding, is it places all the tokens in the same position smartphonesmart and phone seem to represent identical concepts.
Synonyms, on the other hand, can break apart smartphone into smart with phone, treating them as adjacent position. For example, try the following filter instead of decompounding
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.