lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim (JIRA)" <>
Subject [jira] Created: (SOLR-2251) Facet "key" not used when setting mincount, etc on individual facets
Date Tue, 23 Nov 2010 12:57:13 GMT
Facet "key" not used when setting mincount, etc on individual facets

                 Key: SOLR-2251
             Project: Solr
          Issue Type: Improvement
          Components: search
    Affects Versions: 1.4.1
            Reporter: Tim
            Priority: Minor

The "key" parameter that is used for aliasing output is very helpful in simplifying the readability
of complex facets.  However it doesn't seem that this same alias can be used when configuring
facets of individual fields.  The following example that does not use the key parameter works
fine under 1.4.1:


<lst name="customers_name">
  <int name="jone">2</int>

The example below also works and does use the key parameter, however note that we're still
using the original field name when referring to f.customers_name.facet.mincount:


<lst name="customers_name">
  <int name="jone">2</int>

The final example below does not work.  It uses the alias established by the key parameter
to configure the mincount setting for the customers_name field.


<lst name="alt_name">
  <int name="jone">2</int>
  <int name="tim">1</int>
  <int name="sami">0</int>

This is a trivial example.  The behavior becomes much more important when talking about facet

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message