Bug
Search does not work as expected when searching against JSON values that contain escaped characters. This is likely an issue with how string predicates are un-escaped both for clp style search, and for wildcard matching.
Importantly, clp-s makes the decision to not un-escape raw JSON values before ingesting them, which causes some edge cases we are not currently considering during search.
For example, the value in {"key": "a: \"bcde\""} gets ingested verbatim as a: \"bcde\". However, the search *: "a: \"bcde\"" fails to return the matching result.
CLP version
0.1.2
Environment
clp-json package.
Reproduction steps
Ingest {"key": "a: \"bcde\""}
Perform the query *: "a: \"bcde\""
Bug
Search does not work as expected when searching against JSON values that contain escaped characters. This is likely an issue with how string predicates are un-escaped both for clp style search, and for wildcard matching.
Importantly, clp-s makes the decision to not un-escape raw JSON values before ingesting them, which causes some edge cases we are not currently considering during search.
For example, the value in
{"key": "a: \"bcde\""}gets ingested verbatim asa: \"bcde\". However, the search*: "a: \"bcde\""fails to return the matching result.CLP version
0.1.2
Environment
clp-json package.
Reproduction steps
Ingest
{"key": "a: \"bcde\""}Perform the query
*: "a: \"bcde\""