You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Colin Bartolome (JIRA)" <ji...@apache.org> on 2013/03/19 18:57:16 UTC

[jira] [Updated] (SOLR-4295) SolrQuery setFacet*() and getFacet*() should have versions that specify the field

     [ https://issues.apache.org/jira/browse/SOLR-4295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colin Bartolome updated SOLR-4295:
----------------------------------

    Affects Version/s: 4.2
    
> 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, 4.2
>            Reporter: Colin Bartolome
>            Priority: Minor
>
> Since the parameter names for field-specific faceting parameters are a little odd, 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.
> Also, as far as I can tell, there isn't a constant for the "f." prefix. That would be helpful, too.

--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org