thomaswoeckinger commented on PR #3158:
URL: https://github.com/apache/solr/pull/3158#issuecomment-2639051999

   > It's unfortunate we can't check the docValues format, but can we at least 
add a comment explaining this. It's a bit confusing just looking at it without 
context.
   
   FacetFieldProcessorByArrayDV does not handle DocValuesType.SORTED_NUMERIC 
because in method findStartAndEndOrds FieldUtil.getSortedSetDocValues is used, 
which can not handle this kind of DocValuesType.
   
   In detail FacetFieldProcessorByArrayDV  extends FacetFieldProcessorByArray 
which seems to be designed for DocValuesType.SORTED_SET, because the method 
lookupOrd is only possible when having such a type.
   
   Saying that, you may have some suggestions for a code comment.
   
   For me it seems this was not working form the beginning of the 9x branch, 
there was simply not test for it. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to