This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes solr text field with exact match Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "solr text field with exact match" Watch "solr text field with exact match" New topic

solr text field with exact match

Joe Stela

Joined: Mar 22, 2012
Posts: 17

I have one solr text_general field.

I want to do the exact match when I use quotes and without quotes it should work as text field.

For e.g name= "abc xyz"

If I search with name= abc it should return the records but,
If I search with name = "abc" it should not return that record.

I don't want to use 2 fields.

Is it possible to use only one field which will work as string(exact match) with quotes and text field without quotes

subject: solr text field with exact match
It's not a secret anymore!