On Fri, Jun 13, 2014 at 8:53 AM, Clemens Wyss DEV <clemens...@mysign.ch> wrote:
> Thanks a lot!
>>"large text fields"
> What is a good limit (in characters) to switch from StringField to TextField? 
> Do <Langugae>Analyzers (e.g. GermanAnalyzer)  help a lot in reducing the size 
> of an Index?

It's more based on your app's requirements.  StringField indexes
everything as a single token.

>> Add XXXDocValuesField instead of e.g. StringField.
> Does this apply only for StringFields? Or for TextFields too?
>
>> Upgrade to the upcoming Lucene 4.9
> we have not yet transitionen to Java 7/8 ... hopefully soon ;)
>
>> and take a heap dump and see what's using RAM
> Find attached a snippet from MemoryAnalyzer

Does this say  59255872 bytes (ie, ~56.5 MB) being used by the
StandardDirectoryReader?

I'm a little confused because I don't see which structures sum up to
that total.  And I would expect the FST (terms index) to take more
RAM.

Mike McCandless

http://blog.mikemccandless.com

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to