On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • Hello,

    I have the issue that images in named folders pollute the results from AjaxSearch.

    In the html code of some page is some path to an image like:

    I don't want that page being returned on the basis of the image path when searching for "rugby". However, if the page contains the word "rugby" in its text, I want it to be returned. Of course, this is for all search expressions and not only "rugby".

    I assume I need some Ditto filtering with a regular expression or equivalent. Some filtering that would exclude searching the word when in a chain between double quotes and starting with "assets".

    Is there a way to do it?