lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eks dev <eks...@yahoo.co.uk>
Subject RAMDirectory without positions or frequencies?
Date Mon, 20 Jun 2005 12:39:07 GMT
Hi,
I have a need for minimum memory footprint of the
index during search (would like to have it in RAM).
Good thing in the story, similarity calculation is not
necessary, only pure boolean model is OK. 
I am sure I have seen somewhere one explanation from
Doug about disabling norms... but cannot find it now.
Could I implement my Similarity where all, idf, tf, 
coord, lengthnorm return constant value... WIll this
disable loading of norms/positions/freqs in memory
during search? Also, if I use RAMDirectory in this
case (loading from FSDirectory) will these elements be
loaded in RAM?

Better expressed: If one needs only boolean model (no
score calculation needed), what shouls I do to
minimize memory usage and optimize speed. 
My collection has a lot of very short documents (a
couple tokens per field), 5-7 fields,  (approx 20Mio).
Indexing is not critical. Memory in runtime is just
about to fit in RAM.


thanks in advance, eksdev



		
___________________________________________________________ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.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