Hi,

So you have a query=foo bar and you want to retrieve <f1>yes foo</f1> ?

In other words you want to learn which fields caused a match.

May be you can use dynamic fields (instead of multivalued) and use 
debugQuery=true response to extract that information

<f1_1>no foo1</f1_1> 
<f1_2>yes foo</f1_2> 
<f1_3>no foo1</f1_3> 






On Monday, June 16, 2014 7:08 PM, StickHello <stick.he...@gmail.com> wrote:
If am searching for a query say "foo bar" and "foo" is matching in a value of
a multivalued field. can i get that value of the multivalued field.
Suppose i have a multivalued field like
<f1>no foo1</f1> 
<f1>yes foo</f1> 
<f1>no foo1</f1> 

Can i get that in f1 it match at 2nd value which is "yes foo", how do we get
this?
One thing that i know that highlighter will give me this, but that is
increasing the latency.

Any other suggested method?





--
View this message in context: 
http://lucene.472066.n3.nabble.com/Match-in-MultiValueField-tp4142085.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to