Skip to content
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

Wrong Info Logging with wildcard replace rule #74

Open
dobestler opened this issue Apr 17, 2023 · 2 comments
Open

Wrong Info Logging with wildcard replace rule #74

dobestler opened this issue Apr 17, 2023 · 2 comments

Comments

@dobestler
Copy link
Contributor

Having a replace rule with wildcards:
fahrrad* => velo$1

(Velo is swissgerman-french-influenced word for Fahrrad - Fahrradschloss becomes Veloschloss)

leads to these wrong info logs:
"fahrradschloss" =>
[2023-04-17T14:32:10,732][INFO ][q.e.i.Log4jSink ] [esp1-dataHorse-3]DETAIL[ QUERQY ] {"id":"86769c95-9c63-43ac-8002-6e29ff07d3c6","msg":{"replace_rules_ruleset":[{"APPLIED_RULES":["fahrradschloss => []"]}]}}

"fahrradschloss abus" =>
Query "[2023-04-17T14:31:30,699][INFO ][q.e.i.Log4jSink ] [esp1-dataHorse-5]DETAIL[ QUERQY ] {"id":"61f6cb32-9af0-4218-bc26-d9e27c8d37a5","msg":{"replace_rules_ruleset":[{"APPLIED_RULES":["fahrradschloss => [abus]"]}]}}

Hypothesis: Info logging seems to not deal well with wildcard replace rules

@renekrie
Copy link
Collaborator

Which Querqy/ES version are you using?

@dobestler
Copy link
Contributor Author

querqy-elasticsearch-1.5.es7162.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants