Hi elirev, The field "index" of class "org.apache.lucene.codecs.blocktree.FieldReader" is the fst of each field; its type is FST<BytesRef>. I close a index and pick a shard; wirte some code to directly read the shard and then use the reflection to get the actual fst object of _uid field. The ramBytesUsed() method returns memory cost of the fst.
2017-12-12 1:05 GMT+08:00 elirev <elirevac...@gmail.com>: > Hו yin > How do you determine the size being allocated for your _uid ? > > > > -- > Sent from: http://lucene.472066.n3.nabble.com/Lucene-Java-Users- > f532864.html > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > >