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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to