lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (@MITRE.org)" <DSMI...@mitre.org>
Subject DiskDocValues vs Lucene42Codec
Date Fri, 08 Mar 2013 19:02:30 GMT
DiskDocValues is a codec (or part of a codec, apparenlty) for accessing the
DocValues from disk, with minimal RAM usage for things like offsets. 
Lucene42Codec alternatively puts all of DocValues in RAM.  Is the actual
disk resident data format the same between them?  And how do you pick &
choose the formats?  i.e. can I use Lucene42Codec for all the non-DocValues
stuff but then use DiskDocValues so that I can let the OS's cache govern
access to DV data while lowering my Java heap and giving the GC a break.  Ok
I'm going to answer the 2nd question as I just discovered
Lucene42Codec.getDocValuesFormatForField which I can customize.  But that
still leaves the 1st question.  It would be nice to not have to re-index.

~ David



-----
 Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book
--
View this message in context: http://lucene.472066.n3.nabble.com/DiskDocValues-vs-Lucene42Codec-tp4044061p4045871.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.

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


Mime
View raw message