lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Hagelberg <p...@hagelb.org>
Subject EmbeddedSolrServer and BinaryRequestWriter
Date Thu, 14 Jan 2010 22:57:31 GMT

I'm trying to reduce memory usage when indexing, and I see that using
the binary format may be a good way to do this. Unfortunately I can't
see a way to do this using the EmbeddedSolrServer since only the
CommonsHttpSolrServer has a setRequestWriter method. If I'm running out
of memory constructing XML request documents, does that mean I just have
to switch away from the EmbeddedSolrServer?

I understand I can stream requests if I'm just indexing files already on
disk, but I'm constructing them on the fly, and I run out of memory
constructing the XML document to submit to solr, not in actual indexing,
so it seems writing the document to disk would run into the same problems.

thanks,
Phil

Mime
View raw message