Labels - included paths not working
See original GitHub issueHi,
I have some problems getting the labels attached to some specific paths while using the labels “Include Paths” option.
I have one file crawler to crawl a windows share with the following settings:
File Crawler | |
---|---|
Name | Root-Crawler |
Path | smb://root/ |
the rest are the default values.
And then I have created multiple Labels to label some folders under ROOT
.
Label-A | |
---|---|
Name | Label-A |
Value | labela |
Include Paths | smb://root/a/* |
Label-B | |
---|---|
Name | Label-B |
Value | labelb |
Include Paths | smb://root/b/* |
Label-C | |
---|---|
Name | Label-C |
Value | labelc |
Include Paths | smb://root/c/* |
I’d asssume that the subfolders /root/a
/root/b
/root/c
get labeld with their corresponding defined labels but nothing happens. It seems like that the labels “Included Paths” option is ignored for any crawled document.
Regarding to the issue #990 I also tried another regex for the “Included Paths” like smb://root/a/.*
with no luck.
Any Ideas how to use the labels with just a single crawler?
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
VSCode not recognizing includes from includepath
You have to understand that Visual Studio Code is not an IDE and can't compile by itself. You should have an file called...
Read more >Setting Include Paths - NI - National Instruments
LabWindows/CVI saves the list of paths not specific to the project from one session to another on the same machine, regardless of the...
Read more >Built-in include path not shown in Paths and Symbols for ... - IBM
Diagnosing The Problem. Create a new C++ project. In the Project Explorer view, right-click the project and click Properties.
Read more >"Invalid Project path: Include path not found." error/Help me...
I am quite a novice using this platform and am getting quite confused. When I try and import the project I can do...
Read more >Dockerfile reference - Docker Documentation
Parser directives do not add layers to the build, and will not be shown as a ... of the context is considered to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
See LabelTypeHelper. If you need more development supports, please contact support team.
Hi @marevol ,
thanks for helping. After escaping the special characters in the java regexp the labels are matched and assigned correctly. This is really powerful, great job.
Just for the future…where can I find the url/label matching logic in the sourcecode ?