-
-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Procedure to add a regex and facet #339
Comments
I've got a similar (at least how it manifests) problem using the "group manager" in the django admin interface. Trying to add a group results in the same exception
|
Same problem here, is there any solution os far? |
Still no development? The same problem persists... Is there any solutions, does anyone know what is the cause of this error? |
Hi, I'm trying to add regex parsing and facet but found no documentation on how to do it.
I just found #248 and tried to infer something from that, but I can't get it working.
First of all I created my own tsv regex file, put it into regex\myregex.tsv and referenced the file in etl-custom.
I created a simple credit card regex
[0-9]{4}\-?[0-9]{4}\-?[0-9]{4}\-?[0-9]{4}
and a file that matches in any possible way.
I supposed it was enough since this is the only part I found documented. But the issue above says he needed to create facets and groups using django interface. I created a new facet that is identical to iban_ss, called credicard_ss.
The facets file was modified with my facet
config['facets']['creditcard_ss'] = {'label': 'Credit card', 'uri': '', 'facet_limit': '20', 'snippets_limit': '10',}
I restarted the service and indexed a doc that contains credit cards.
The verbose log contains:
Checking regex [0-9]{4}\-?[0-9]{4}\-?[0-9]{4}\-?[0-9]{4} creditcard_ss for facet tag_ss
so I'm sure my regex is getting picked up, BUT:
What am I missing here? Is there a complete document with the procedure?
Also, Create my own regex doesn't work correctly #248 says something about groups but any tentative to create a group leads to an error
I need to create dozens of regexes...
Using deb install on ubuntu 20.04.
Thank you
The text was updated successfully, but these errors were encountered: