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

[jira] [Updated] (SOLR-4522) SimpleFacets.getListedTermCounts wont work for docvalues-only fields (or other custom fieldtypes)

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

Robert Muir updated SOLR-4522:
------------------------------

    Attachment: SOLR-4522.patch

Here's my idea I guess... no test yet though.
                
> SimpleFacets.getListedTermCounts wont work for docvalues-only fields (or other custom fieldtypes)
> -------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-4522
>                 URL: https://issues.apache.org/jira/browse/SOLR-4522
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>            Reporter: Robert Muir
>         Attachments: SOLR-4522.patch
>
>
> Don't have a test yet: but this makes bare TermQuery (used for facet refinement).
> SimpleFacets.rangeCount is correct (it invokes FieldType.getRangeQuery...), but I'm concerned about the semantics here for terms.
> Because FieldType.getFieldQuery is really more for an unstructured query, it shouldnt call this method. 
> Its probably better if FieldType has an explicit method to make a structured term query (with getFieldQuery forwarding to that by default), but I dont want to make FieldType api confusing either...

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