How to use labels properly?

(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!

(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.

(from github.com/Ozius)
I have selected the label in web crawling config… :frowning:

A reindex is necessary to update the label assigment?

(from github.com/marevol)
Yes. Reindex is needed to update labels.

(from github.com/Ozius)
Ok! Thanks!