Hi,
I'm looking to create a search behaviour like Amazon does.

I have an index with 3 Fields  : Title, Description and Category.

I want to search in the fields title and descriptions for the word "*car*" 
and I would like to get scored result like this :

car           --> score : 1 in category vehicles
autocar    --> score : 0,5 in category vehicles where the part "car" should 
highlighted ex : auto*car*
carradio --> core : 0,5 in category vehicles where the part "car" should 
highlighted    ex : *car*radio

and that if the word is found in the title field, the score should be 
higher as if the word would only be found in the description field.

Is anybody out there who could help me on this topic or at least point me 
to the right direction where I should look for ?

Thanks,
Serge

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/3f5e7d15-74c2-49ab-bc8f-231d01899fa4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to