Hello, There is no way to compute the byte size of a document. Also note that the relationship between the size of a document and how much space it will use in the Lucene index is quite complex.
Le mer. 4 juil. 2018 à 11:26, Chris and Helen Bamford <[email protected]> a écrit : > Hi there, > > How can I calculate the total size of a Lucene Document that I'm about > to write to an index so I know how many bytes I am writing please? I > need it for some external metrics collection. > > Thanks > > - Chris > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
