I want to do an exact match query with Solr. I have already a solr.textField type to make fuzzy and stemmed searches, but I need to be able to do exact match (or "contains" match) queries, like this
document_1.text_exact: "The fox was jumping on the goose"
document_2.text_exact: "The fox is jumping on the goose"
document_3.text_exact: "The fox is jumping at the goose"
I want to do a query like this:
text_exact:"The fox is jumping"
and I want solr document_2 and document_3 but not document_1. The same you can do when looking for text in Firefox (you know, with Ctrl-F).
How shoud I define the "text_exact" field in order to accomplish this?
Thanks