You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Greg Miller <gs...@gmail.com> on 2021/06/02 23:01:36 UTC

Re: Dynamic numeric range

[Disclaimer: I work with Yuting on Product Search at Amazon]

I think this is super interesting to explore! It would be useful to
have an implementation like LongRangeFacetCounts /
DoubleRangeFacetCounts that "discovers" its own ranges based on the
distribution of the underlying data, rather than requiring the user to
specify the ranges up-front.

Could you please create a Jira issue to track this work? That would be
a good place to track progress, as well as any suggestions others
might have on how to best implement this. Thanks for bringing up the
idea!

Cheers,
-Greg

On Wed, May 26, 2021 at 3:46 PM Yuti G <ga...@gmail.com> wrote:
>
> Hello everyone,
>
> I have been exploring the possibilities of getting dynamic numeric range facet counts without users specifying ranges.
>
> An example use-case might be a price filter on an e-commerce site. Instead of requiring ranges to be pre-defined before doing facet counting in Lucene, it would be really cool if Lucene could examine the matching products and automatically determine relevant price ranges.
>
> I saw this blog post <https://www.elastic.co/guide/en/elasticsearch/reference/7.9/search-aggregations-bucket-variablewidthhistogram-aggregation.html> where Elasticsearch implemented similar functionality and think it would be useful to bring a similar idea into Lucene itself.
>
> I am very early in thinking about this. Has anybody else thought about this?
>
> If anyone is also interested or has any thoughts. I am more than happy to learn from you. Please let me know :)
>
> Thanks,
> Yuting

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Re: Dynamic numeric range

Posted by Yuti G <ga...@gmail.com>.
Hi Greg,


Thank you so much! I will create a Jira issue today.


Best,

Yuting

On Wed, Jun 2, 2021 at 7:02 PM Greg Miller <gs...@gmail.com> wrote:

> [Disclaimer: I work with Yuting on Product Search at Amazon]
>
> I think this is super interesting to explore! It would be useful to
> have an implementation like LongRangeFacetCounts /
> DoubleRangeFacetCounts that "discovers" its own ranges based on the
> distribution of the underlying data, rather than requiring the user to
> specify the ranges up-front.
>
> Could you please create a Jira issue to track this work? That would be
> a good place to track progress, as well as any suggestions others
> might have on how to best implement this. Thanks for bringing up the
> idea!
>
> Cheers,
> -Greg
>
> On Wed, May 26, 2021 at 3:46 PM Yuti G <ga...@gmail.com> wrote:
> >
> > Hello everyone,
> >
> > I have been exploring the possibilities of getting dynamic numeric range
> facet counts without users specifying ranges.
> >
> > An example use-case might be a price filter on an e-commerce site.
> Instead of requiring ranges to be pre-defined before doing facet counting
> in Lucene, it would be really cool if Lucene could examine the matching
> products and automatically determine relevant price ranges.
> >
> > I saw this blog post <
> https://www.elastic.co/guide/en/elasticsearch/reference/7.9/search-aggregations-bucket-variablewidthhistogram-aggregation.html>
> where Elasticsearch implemented similar functionality and think it would be
> useful to bring a similar idea into Lucene itself.
> >
> > I am very early in thinking about this. Has anybody else thought about
> this?
> >
> > If anyone is also interested or has any thoughts. I am more than happy
> to learn from you. Please let me know :)
> >
> > Thanks,
> > Yuting
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>