Hi,

We are using Solr 4.10.2 to store user names from LDAP. I want Solr not to 
tokenise my search term which has space in it Eg: If there is a user by the 
name Tom Hanks Major, then

1) When I do a query for " Tom Hanks Major " , I don't want solr break this 
search phrase and search for individual words (ie, Tom ,Hanks, Major), but 
search for the whole phrase and get me the Tom Hanks Major user

2) Also if I query for "Hanks Major" I should get the Tom Hanks Major user back

We used !prefix, but that does no allow the scenario 2. Also !prefix will 
restrict the search to one field and can't do on mutiple fields. Any solutions?

Regards,
Dinesh Babu.

________________________________

Reply via email to