You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mikhail Khludnev (JIRA)" <ji...@apache.org> on 2018/05/10 16:34:00 UTC
[jira] [Created] (SOLR-12342) what-if analysis in JSON facet
Mikhail Khludnev created SOLR-12342:
---------------------------------------
Summary: what-if analysis in JSON facet
Key: SOLR-12342
URL: https://issues.apache.org/jira/browse/SOLR-12342
Project: Solr
Issue Type: Improvement
Security Level: Public (Default Security Level. Issues are Public)
Components: Facet Module
Reporter: Mikhail Khludnev
It's literally what subfaceting (and earlier pivot facets) does. However, it's more complicated with you know what? Right! Block-Joins. Completely maked up sample follows:
{quote}
Giving those favoured SKUs with colours and sizes. I'd like to see sizes distribution (facets) depending on dominating colour per product documents. Eg I need to enumerate sku colours with term facet, then for every sku colour I want to search for products where this colour dominates - it's comprehensive combination of {{\{!frange}}}s, summing {{\{!parent score=total}} constant score queries {{^1}} and funcs like {{div()}} and {{sub()}} etc. Then I want to facet those new docset for sizes.
{quote}
h2. Proposal
- Implicitly tag incoming bucket docset to let to exclude it via {{domain:\{excludeTags:[enclosing_bucket_docset]}}};
- Implicitly inject the incoming bucket docset as a query parameter to allow to include it in query like {{query:"\{!frange l=10}\{!parent .. score=total}(\{!query v=$enclosing_bucket_docset}^1)"}}
h2. Questions
# How you gonna do something like this alternatively?
# What about those two non-invasive improvements?
# How to name those tags and param?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org