Hi Thrinadh,

I think you can pull something together with FieldMaskingSpanQuery
http://blog.griddynamics.com/2011/07/solr-experience-search-parent-child.html

Ahmet



On Wednesday, April 13, 2016 8:24 PM, Thrinadh Kuppili <thrinadh...@gmail.com> 
wrote:
Hi,

I have created 2 multivalued fields FirstName, Lastname

In solr the values available are :
FirstName": [ "Kim", "Jake","NATALIE", "Tammey"]
LastName": [ "Lara", "Sharan","Taylor", "Taylor"]

I am trying to search where firstName is Tammey and LastName is Taylor.

I should be able to search firstname [4] and lastname [4] and get the
record
but currently it is searching with the firstname [4] and lastname [3] which
shouldn't not happen.

Do let me know if more details are needed.

Thnx




--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-to-search-for-a-First-Last-of-contact-which-are-stored-in-differnet-multivalued-fields-tp4269901.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to