Take a look at the "explain" section of the results when you set the debugQuery=true parameter.

Also set the debug.explain.structured=true parameter to get a structured representation of the explain section.

-- Jack Krupansky

-----Original Message----- From: heaven
Sent: Monday, March 10, 2014 12:40 PM
To: solr-user@lucene.apache.org
Subject: Solr to return the list of matched fields

Hi, I have a few text fields indexed and when searching I need to know what
field matched. For example I have fields:
{code}
full_name, site_source, tweets, rss_entries, etc
{code}
When searching I need to show results and show scores per each field. So an
user can see what exactly content match the given keywords (I can't use
stored fields because of the index size).

Thank you,
Alex



--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-to-return-the-list-of-matched-fields-tp4122613.html Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to