aspose file tools*
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 JavaScript Promises Essentials this week in the JavaScript 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: 16

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

Don't get me started about those stupid light bulbs.
subject: solr text field with exact match