11-07-2019 11:14 AM
When performing a standard search through Alfresco Share which does a full text search using afts, does anyone know of a way to search for documents with an exact word? For example, if I knew my document contained the word "accessibility" I'd want a way to find only documents that have that exact word and not one of its alternate forms.
As it stands, if I do a simple search for "accessibility" it will also return documents containing words such as "accessible", or "access". This is nice except when you happen to know the exact form of the word you want. I had hoped the equals operator would do what I'm asking but it appears it doesn't work the way I thought it would reading the docs (https://docs.alfresco.com/5.2/concepts/rm-searchsyntax-exact.html).
I saw in another similar thread that there might be a ticket open for exact term searching not working properly (https://issues.alfresco.com/jira/browse/SEARCH-1585) but it's not publically viewable.
Currently using ACS 5.2.4 / Alfresco Search Services 1.3.0.5.
Thanks,
Neil
11-07-2019 11:45 AM
This is an open issue, exact term searching is not working at the moment.
For your reference:
https://issues.alfresco.com/jira/browse/SEARCH-1585
11-07-2019 11:28 AM
Try something like this:
For example, the following query will match running but will not be tokenized. If you are using stemming it might not match anything.
=running
For the cm:name field, which is in the index as both tokenized and untokenized, it will use the untokenized field. For example, =part will only match the exact term "part". If you use =part* it will match additional terms, like "partners". If there is no untokenized field in the index, it will fall back to use the tokenized field, and then, with stemming/plurals, it would match.
11-07-2019 11:45 AM
This is an open issue, exact term searching is not working at the moment.
For your reference:
https://issues.alfresco.com/jira/browse/SEARCH-1585
11-07-2019 03:28 PM
Okay, thanks for the clarification and for making that ticket publically available to view assuming you just did that (I swear I wasn't able to view it this morning).
11-08-2019 03:08 AM
Yes, that was private. I opened the ticket yesterday.
04-20-2021 02:26 AM
using = as prefix wont work in version below search services 2.0 to match exact results right?
@angelborroy pls rply
04-27-2021 06:55 AM
Hi @Yash_111
It's better to start a new thread explaining in full the issue you have and giving information about the environment, etc.
HTH,
Explore our Alfresco products with the links below. Use labels to filter content by product module.