lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Krupansky" <j...@basetechnology.com>
Subject Re: Figure out what value was matched in multi valued field
Date Wed, 13 Mar 2013 13:11:22 GMT
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. 


Mime
View raw message