shubhamsrkdev commented on code in PR #15711:
URL: https://github.com/apache/lucene/pull/15711#discussion_r2841348774
##########
lucene/facet/src/java/org/apache/lucene/facet/taxonomy/directory/DirectoryTaxonomyReader.java:
##########
@@ -540,55 +546,52 @@ protected void swap(int i, int j) {
public int compare(int i, int j) {
return Integer.compare(ordinals[i], ordinals[j]);
}
- }.sort(0, ordinalsLength);
+ }.sort(0, uncachedLength);
int readerIndex;
int leafReaderMaxDoc = 0;
int leafReaderDocBase = 0;
LeafReader leafReader;
LeafReaderContext leafReaderContext;
BinaryDocValues values = null;
- IntArrayList uncachedOrdinalPositions = new IntArrayList();
- for (int i = 0; i < ordinalsLength; i++) {
- if (bulkPath[originalPosition[i]] == null) {
+ for (int i = 0; i < uncachedLength; i++) {
+ int ord = ordinals[i];
+ int idx = originalPosition[i];
Review Comment:
Removed!
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]