I noticed that CQ5 cannot find some assets if I were to search for part of the substring. For example:
Library of assets:
If I were to search for 'white', CQ5 returned the following:
If I were to search for '500x200', CQ5 returned the following:
However, if I were to search for part of a substring such as '500' or 'whit', or 'lack', CQ5 would return nothing.
It seems that CQ5 uses underscores in file names to create seperate searchable terms for each file. This becomes a problem for me especially if I want to look for only asstes 500px wide and CQ5 returns nothing. Unfortunately changing the naming structure of all my assets is not an option. I am wondering if there is a fix to this?
try using * as part of your search fulltext
Is there a possible fix with the code. I'm building the CMS for non-programmers, so they will not understand what a wildcard does.
may be you can have * added as default as part of your code where you are passing the parameters to search,