You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by cyang2010 <ys...@hotmail.com> on 2011/05/03 22:11:39 UTC
How to know which value matched for a multi-value field
Hi,
I have a use case where i need to know for a paritcular multivalue field,
which particular value match when a query is run on that field. For
example, for a movie document, movie title name is single-value field,
movie actors is multi-value field. When user search "colin", i know it is
"colin firth" matches the query, rather than "jeffery rush" matches. So
that i can return "colin firth" field value back.
title
king's speech
actors: colin firth, jeffery rush
Thanks in advance,
cy
--
View this message in context: http://lucene.472066.n3.nabble.com/How-to-know-which-value-matched-for-a-multi-value-field-tp2895814p2895814.html
Sent from the Solr - User mailing list archive at Nabble.com.