I have a solr schema consisting of name and idnumber.
- name column stores name of a person
- idnumber stores numbers of passport/driving license ets.
My search condition is like
Get all results when the name of person is 'ABC' or idnumber is '123'
I used the query
(name:'MAHMUD ABID HAMID BID HAMID' OR idnumber:123)
AND (name:'MAHMUD' AND name:'ABID AND name:'HAMID' AND name:'BID' AND
name:'HAMID' OR idnumber:123)
But I am not getting the result as per my requirement.