Open bt opened 7 years ago
Currently there is no search mechanism to restrict matches based on their positions within an array. This information is in the index, we just don't have any query operators that use it.
The issue open here: https://github.com/blevesearch/bleve/issues/15 has been left open since we have not yet added support for searching based on these array positions.
I understand that arrays is not fully implemented as there are some issues that relate to it (eg: #570) but I couldn't find any information on searching on arrays.
Here's example code of what I'm trying to achieve:
In the above example, I'm trying to find an array with an exact match of
[a@example.com b@example.com]
, which should only return 1 result; the document withID 1234
,Name: xyz
, but it's returning both documents now. Is there a way I can achieve this?