Mephisto,

Maybe LUCENE-1999 helps you. We've used it with some success.
Otherwise, you're left with highlighting.

paul


On 13 mars 2013, at 14:11, Jack Krupansky wrote:

> Add &debugQuery=true to your query and examine the "explain" section, which 
> will show the terms/phrases that scored for each document.
> 
> -- Jack Krupansky
> 
> -----Original Message----- From: mephisto
> Sent: Wednesday, March 13, 2013 6:52 AM
> To: solr-user@lucene.apache.org
> Subject: Figure out what value was matched in multi valued field
> 
> Hi ,
> 
> I have an application where users are tagged with multiple keywords/phrase .
> Depending on the keyword there is additional information specific to the
> keyword the document was matched for .
> 
> <arr>
> <str>Tooth Whitening</str>
> <str>Tooth Dentures</str>
> <str>Veneers</str>
> </arr>
> 
> I need to be able to figure out which particular value "Tooth whitening" or
> "Tooth dentures" or "veneers" the user was determined as a result and then
> further extract more information about it .
> 
> Can this be done in solr ?
> 
> 
> 
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Figure-out-what-value-was-matched-in-multi-valued-field-tp4046942.html
> Sent from the Solr - User mailing list archive at Nabble.com. 

Reply via email to