Hi, when performing search queries on nested objects, I'm receiving inconsistent search results.
For example, if I have a document that has the field
"members": {
{"user1": {"color": "blue"}},
{"user2": {"color": "red"}}
}
If I search for q="red" query_by="members", then the result is 1 hit.
If I search for q="blue" query_by="members", then the result is 0 hit.
If I search for q="*" query_by="members", then the result is 1 hit.
Description
Hi, when performing search queries on nested objects, I'm receiving inconsistent search results.
For example, if I have a document that has the field "members": { {"user1": {"color": "blue"}}, {"user2": {"color": "red"}} } If I search for q="red" query_by="members", then the result is 1 hit. If I search for q="blue" query_by="members", then the result is 0 hit. If I search for q="*" query_by="members", then the result is 1 hit.
However all queries should result in 1 hit
Steps to reproduce
export TYPESENSE_API_KEY=xyz
Populate the Database:
Queries:
Expected Behavior
Removing all non-relevant fields to this issue from the results:
Actual Behavior
Removing all non-relevant fields to this issue from the results:
Metadata
Typesense Version: Tested on versions 0.25.1 & 0.25.2.rc12
OS: Typesense Cloud