You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @mvar ,
I've been checking out these and some other queries on this functionality and in reality it seems that there are quite a few queries that can accept multiple fields, however, that does not mean that they work correctly with them. My tests show that if multiple fields are provided to these queries the results will come out only for the last field that was specified, that is if i would have such a query:
I have tested range query and found out that it works with multiple fields (tested with ES 2.1.1). This library does not support that.
Example:
Currently if you want to achieve something like that using our library you need to create two
range
queries and put them intobool
.We should check how many queries support multiple fields and think how we could add support for it.
Edit:
prefix
andregexp
queries also supports multiple fields (tested on ES 2.1.1).The text was updated successfully, but these errors were encountered: