Hi everyone,
I’m using Alfresco Content Services 6.1.2 with Solr-based Search Services and I need to implement an exact phrase search in document content.
Requirement:
When searching for a phrase such as “My document”, I want results ONLY when this exact phrase appears in the content in the same order.
Current behavior:
Using:
TEXT:"My document"
or:
ecm:poDeleted:='false' AND TEXT:"My document" AND TYPE:='ecm:ecmDocument'
I still get documents where “My” and “document” appear separately (not adjacent), even though I expect strict phrase matching.
I tried:
TEXT:="My document"
But I get parser errors when using '=' incorrectly before field names. Even when syntax is correct, matching still behaves tokenized.
Questions:
1. Is strict exact phrase search possible using AFTS in ACS 6.1.2 without additional Solr configuration changes?
2. If configuration is required, what needs to be enabled in Solr/Search Services (e.g. cross-locale, exactTermSearch)?
3. What are the recommended settings for enabling exact term search for d:content / cm:content?
4. Are there any performance or index-size side effects after enabling exact phrase search?
Any guidance is appreciated.