Multiple Include/Exclude pathing not respected on Site Search indexation
To reproduce,
1) create unique content on the index pages of a few directories... I created on news-events, products, and services index pages... placing "fandango" in a piece of published content.
2) create a new site search with multiple exclude paths:
/news-events/, /products, /services/*
3) run and create new default index
4) using the Search tab on the default index.. search for the unique term. It seems that only the first path in the string of multiple paths is "Excluded" and the rest are not respected in the comma separated list
http://screencast.com/t/SG8D5wbt
For me it doesn't work well with multiple includes either. If I try with /products/* for instance it works fine. If I try with /products/,/blog/,/news/* then nothing gets indexed. No errors on the log either.
Try with returns between includes and excludes, one per line On 15 Dec 2012 03:07, "Maru Ahues Bouza" [email protected] wrote:
For me it doesn't work well with multiple includes either. If I try with /products/* for instance it works fine. If I try with /products/,/blog/,/news/* then nothing gets indexed. No errors on the log either.
— Reply to this email directly or view it on GitHubhttps://github.com/dotCMS/dotCMS/issues/1717#issuecomment-11398723.
Adding carriage returns between include/exclude entries doesn't work. Removing any whitespace between the comma separated entries resolves the issue. (2.2.1).
I think this was a duplicate of https://github.com/dotCMS/dotCMS/issues/2768