Colin Bartolome created SOLR-4295:
-------------------------------------

             Summary: SolrQuery setFacet*() and getFacet*() should have 
versions that specify the field
                 Key: SOLR-4295
                 URL: https://issues.apache.org/jira/browse/SOLR-4295
             Project: Solr
          Issue Type: Improvement
          Components: clients - java
    Affects Versions: 4.0
            Reporter: Colin Bartolome
            Priority: Minor


Since the parameter names for field-specific faceting parameters are a little 
odd (and undocumented), such as "f.field_name.facet.prefix", the SolrQuery 
class should have methods that take a "field" parameter. The 
SolrQuery.setFacetPrefix() method already takes such a parameter. It would be 
great if the rest of the setFacet*() and getFacet*() methods did, too.

The workaround is trivial, albeit clumsy: just create the parameter names by 
hand, as necessary.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to