129130131132133134135136137138139
{ df++; docid = tdoc.doc(); if(!loader.add(docid, valId)) logOverflow(fieldName); bitset.fastSet(docid); } maxID = docid; } freqList.add(df); minIDList.add(minID);
273274275276277278279280281282283
{ df++; int docid = tdoc.doc(); if (!_nestedArray.addData(docid, t)) logOverflow(fieldName); minID = docid; bitset.fastSet(docid); int valId = (t - 1 < negativeValueCount) ? (negativeValueCount - t + 1) : t; while(tdoc.next()) { df++; docid = tdoc.doc();
280281282283284285286287288289290
while(tdoc.next()) { df++; docid = tdoc.doc(); if(!_nestedArray.addData(docid, valId)) logOverflow(fieldName); bitset.fastSet(docid); } maxID = docid; } freqList.add(df); minIDList.add(minID);
93949596979899100101102103
final BigNestedIntArray nestedArray = dataCache._nestedArray; final OpenBitSet bitset = new OpenBitSet(dataCache.valArray.size()); for (int i : index) { bitset.fastSet(i); } if (_takeCompliment) { // flip the bits
122123124125126127128129130131132
{ df++; int docid = tdoc.doc(); if(!loader.add(docid, t)) logOverflow(fieldName); minID = docid; bitset.fastSet(docid); while(tdoc.next()) { df++; docid = tdoc.doc(); if(!loader.add(docid, t)) logOverflow(fieldName);
128129130131132133134135136137138
while(tdoc.next()) { df++; docid = tdoc.doc(); if(!loader.add(docid, t)) logOverflow(fieldName); bitset.fastSet(docid); } maxID = docid; } freqList.add(df); minIDList.add(minID);
272273274275276277278279280281282
{ df++; int docid = tdoc.doc(); if (!_nestedArray.addData(docid, t)) logOverflow(fieldName); minID = docid; bitset.fastSet(docid); while(tdoc.next()) { df++; docid = tdoc.doc(); if(!_nestedArray.addData(docid, t)) logOverflow(fieldName);
278279280281282283284285286287288
while(tdoc.next()) { df++; docid = tdoc.doc(); if(!_nestedArray.addData(docid, t)) logOverflow(fieldName); bitset.fastSet(docid); } maxID = docid; } freqList.add(df); minIDList.add(minID);
187188189190191192193194195196197
public DocIdSet randSet(int sz) { OpenBitSet obs = new OpenBitSet(sz); int n = r.nextInt(sz); for (int i=0; i<n; i++) { obs.fastSet(r.nextInt(sz)); } return obs; }
6162636465666768697071
if ( docId == DocIdSetIterator.NO_MORE_DOCS ) { break; } else { if ( acceptDocs == null || acceptDocs.get( docId ) ) { matchedDocumentsIds.fastSet( docId ); found = true; } } } }