lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bingtao Yin <ybts...@gmail.com>
Subject Re: Optimize FTS memory footprint
Date Tue, 12 Dec 2017 09:01:56 GMT
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 <elirevach12@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-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

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