Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

solr text field with exact match

 
Joe Stela
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

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

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic