Hello Iana,

I consider is as expected behavior, perhaps usually it's done as
&fq=p_happyDates:[1975-10-31T00:00:00.000Z+TO+1975-10-31T23:59:59.999Z],
which is not equivalent to combining half closed ranges with boolean query.
I wonder why did you do like that?

On Tue, Aug 23, 2016 at 2:33 PM, Iana Bondarska <yana2...@gmail.com> wrote:

> Hi All,
>
> could you help me please with multiple range filters on multi valued
> fields:
> I have following dataset:
> {
> "p_happyDates":[
> "1986-05-16T20:00:00Z",
> "1875-04-29T21:57:56Z",
> "1906-07-04T21:57:56Z"]
> },
> {
> "p_happyDates":[
> "1986-05-16T20:00:00Z",
> "1975-10-31T21:57:56Z",
> "1966-12-28T21:00:00Z"]
> }
> I apply filters:
> &fq=(p_happyDates:[1975-10-31T00:00:00.000Z+TO+*]+AND+p_
> happyDates:[*+TO+1975-10-31T23:59:59.999Z])
> I expect to see only second record.
> Actually I see both records. Even if I add parameter q.op=AND - result is
> the same.
> Is this expected behavior or known issue for multivalued fields?
>
> Best Regards,
> Iana Bondarska
>



-- 
Sincerely yours
Mikhail Khludnev

Reply via email to