Open dobestler opened 1 year ago
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
Which Querqy/ES version are you using?
querqy-elasticsearch-1.5.es7162.0
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