*) If there are at most 10 entries left while doing an index transfer, these entries will also be appended

to the index list
   |> D 2005/08/18 10:00:02 PLASMA Selected partial index (33 from 37 URLs, 0 not bound) for word fSuQM0xAJK1G
   See: http://www.yacy-forum.de/viewtopic.php?t=970

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@556 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 20 years ago
parent d4a045d7b1
commit ec4c70d722

@ -246,7 +246,8 @@ public class plasmaWordIndexDistribution {
indexEntity = wordIndex.getEntity(nexthash, true);
if (indexEntity.size() == 0) {
indexEntity.deleteComplete();
} else if (indexEntity.size() <= count) {
} else if ((indexEntity.size() <= count)|| // if we havn't exceeded the limit
(Math.abs(indexEntity.size() - count) <= 10)){ // or there are only at most 10 entries left
// take the whole entity
try {
// fist check if we know all urls

Loading…
Cancel
Save