clp-s: Search for empty JSON object and JSON array not working as expected.
Opened this issue · 0 comments
gibber9809 commented
Bug
For objects like {"a":{}, "b":[]}
the object should be searchable with queries like a:*
or b:*
, but the current version of clp-s fails to return the object for such queries (with one exception).
The issue is most likely a problem with schema matching. The only case that works at the moment is that b:*
will correctly return the object when array structurization is disabled.
CLP version
0.1.2
Environment
Current version of clp package.
Reproduction steps
Ingest a JSON object containing an empty JSON object field and attempt to retrieve it using search.