lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andres de la Peña <>
Subject Searching in multiple indexes with more than 2147483519 documents
Date Thu, 08 Dec 2016 13:50:44 GMT
Hi all,

A Lucene index can't contain more than 2147483519 documents, so we want to
split a larger dataset in multiple indexes. However, it is not possible to
create a MultiReader to search in all the index partitions at a time:

Too many documents: composite IndexReaders cannot exceed 2147483519 but
readers have total maxDoc=2171401446

What do you think is the best way to search in several indexes containing
more than 2147483519 documents in total? Maybe searching in each index and
merging the results in a MemoryIndex/RAMIndex?


Andrés de la Peña

Vía de las dos Castillas, 33, Ática 4, 3ª Planta
28224 Pozuelo de Alarcón, Madrid
Tel: +34 91 828 6473 // // *@stratiobd

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message