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
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