Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 Murach's Java Servlets and JSP this week in the Servlets 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
Author

solr text field with exact match

Joe Stela
Greenhorn

Joined: Mar 22, 2012
Posts: 15
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: solr text field with exact match
 
Similar Threads
Search functionality ?!
2 ComboBox's 1 Set
Question about searching
Solr Exact String Match
Exact match and starts with