discuss
November 14, 2016, 9:27am
1
(from github.com/Ozius )
Hi,
I am configuring some labels to search only on a subgroup of indexed pages.
I need to assign a label to all the pages in a certain folder, for example: http://www.example.org/folder/
I tried to put in “Included Paths” different formats but nothing appears to work properly, all the indexed pages has the label assigned, not only the pages in that folder.
Included Paths format is a java regex? I tried with:
^http://www.example.org/folder/
^http://www.example.org/folder/.*
http://www.example.org/folder/.*
Is the label functionality working fine? or I am configuring it wrongly?
Thanks!
discuss
November 14, 2016, 1:28pm
2
(from github.com/marevol )
Included Paths format is Java regex.
The setting for http://www.example.org/folder/.* assigns a label to pages under http://www.example.org/folder/ including sub directories.
If you selected a label in web crawling config page, ALL pages is assigned to the label.
discuss
November 14, 2016, 1:53pm
3
(from github.com/Ozius )
I have selected the label in web crawling config…
A reindex is necessary to update the label assigment?
discuss
November 14, 2016, 9:11pm
4
(from github.com/marevol )
Yes. Reindex is needed to update labels.
discuss
November 15, 2016, 7:15am
5
(from github.com/Ozius )
Ok! Thanks!