Hi all-

Is there an easy way to find out which field matched a term in an OR query 
using Solr? I have a document with names in two multi-valued fields and I am 
searching for "Smith", using the query "A_NAMES:smith OR B_NAMES:smith". I 
figure I could loop through both result arrays, but that seems weird to me to 
have to search again for the value in a result.

Thanks for any info,

Ron

DISCLAIMER: This electronic message, including any attachments, files or 
documents, is intended only for the addressee and may contain CONFIDENTIAL, 
PROPRIETARY or LEGALLY PRIVILEGED information.  If you are not the intended 
recipient, you are hereby notified that any use, disclosure, copying or 
distribution of this message or any of the information included in or with it 
is  unauthorized and strictly prohibited.  If you have received this message in 
error, please notify the sender immediately by reply e-mail and permanently 
delete and destroy this message and its attachments, along with any copies 
thereof. This message does not create any contractual obligation on behalf of 
the sender or Law Bulletin Publishing Company.
Thank you.

Reply via email to