I am running SOLR 3.6, and have documents that have tags indexed. When a user enters a search phrase, I'd like to be able to find documents with tags contained inside that query.
E.g, a user searching for "Any document that has boats tagged" would match a document that had "boats" as a tag.
I know you can do wildcard searching, but I need the wildcards applied to the solr field, not the search query.
The MySQL equivalent to this would be:
SELECT * FROM `documents` WHERE "Any document that has boats tagged" LIKE 'CONCAT('%', `document`, '%');
So I need a SOLR factory that will allow this type of query:
*document*:"Any document that has boats tagged"