Bug?: Statistical Facet cannot use both script and facet_filter


(Jessica) #1

I believe I have found a bug:

If I have a facet that is a statistical I can do the following:
facet with a script for field, no filters -> works fine
facet with a normal field with a facet_filter -> works fine
*BUG -> facet with the same script field and the same facet_filter ->
results are infinite (no error, but not working correctly)

Thanks,

--J

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Zachary Tong) #2

Could you make a Gist that recreates the problem? Some sample docs and the
three queries you just described?

What version of ES are you using?

-Zach

On Friday, September 6, 2013 4:17:33 PM UTC-4, J wrote:

I believe I have found a bug:

If I have a facet that is a statistical I can do the following:
facet with a script for field, no filters -> works fine
facet with a normal field with a facet_filter -> works fine
*BUG -> facet with the same script field and the same facet_filter ->
results are infinite (no error, but not working correctly)

Thanks,

--J

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Jessica) #3

I think this gist should be close to what I was doing with my data,
somewhat simplified. I have moved on from this so I can't spend time
working on it any longer, but this should illustrate what I was doing at
least, might need some tweaks to fully run:

I'm on version 0.90.3

On Fri, Sep 6, 2013 at 3:33 PM, Zachary Tong zacharyjtong@gmail.com wrote:

Could you make a Gist that recreates the problem? Some sample docs and
the three queries you just described?

What version of ES are you using?

-Zach

On Friday, September 6, 2013 4:17:33 PM UTC-4, J wrote:

I believe I have found a bug:

If I have a facet that is a statistical I can do the following:
facet with a script for field, no filters -> works fine
facet with a normal field with a facet_filter -> works fine
*BUG -> facet with the same script field and the same facet_filter ->
results are infinite (no error, but not working correctly)

Thanks,

--J

--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/B4Xtp__kieg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #4