lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-4522) SimpleFacets.getListedTermCounts wont work for docvalues-only fields (or other custom fieldtypes)
Date Fri, 01 Mar 2013 17:43:12 GMT
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


Mime
View raw message