cancel
Showing results for 
Search instead for 
Did you mean: 

Why I can't search for a file using the full file name?

silverhoof
Champ in-the-making
Champ in-the-making
Why I use part of the file name to search, alfresco give me the result as expected.
But when I use the full file name to search that file, it gives me a lot of irrelevant results.
Any one knows why?
1 REPLY 1

afaust
Legendary Innovator
Legendary Innovator
Hello,

the file name probably contains whitespaces and you search for it by including the whitespaces in your query. But by default, Alfresco treats whitespaces as term delimiters and ORs the terms, e.g. a search for <blockcode>my important file.pdf</blockcode> will search for <blockcode>my OR important OR file.pdf</blockcode>.
If you want to search for the full name please make sure you enclose the entire name with quotation marks, e.g. <blockcode>"my important file.pdf"</blockcode>

Regards
Axel