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:43:12 UTC

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

Robert Muir created SOLR-4522:
---------------------------------

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


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