OutOfMemoryError with FSDirectory

2011-04-05 Thread Claudio R
Hi, I am using Lucene 2.9.4 with FSDirectory. My index has 80 thousand documents (each document has 12 fields). My jvm has 70Mb of RAM memory (limited by my hosting). I am getting various OutOfMemoryError. I ran jmap and I got: num   #instances    #bytes    Class description -

OutOfMemoryError with FSDirectory

2011-04-05 Thread Claudio R
Hi, I am using Lucene 2.9.4 with FSDirectory. My index has 80 thousand documents (each document has 12 fields). My jvm has 70Mb of RAM memory (limited by my hosting). I am getting various OutOfMemoryError. I ran jmap and I got: num   #instances    #bytes    Class description -

OutOfMemoryError with FSDirectory

2011-04-05 Thread Claudio R
Hi, I am using Lucene 2.9.4 with FSDirectory. My index has 80 thousand documents (each document has 12 fields). My jvm has 70Mb of RAM memory (limited by my hosting). I am getting various OutOfMemoryError. I ran jmap and I got: num   #instances    #bytes    Class description -

Re: OutOfMemoryError with FSDirectory

2011-04-04 Thread Claudio
this is the more important part), various caches are used to speed up searches. A substantial part of your index may be held in memory at various points. 70M just isn't very much memory, I think you'll have to get more if at all possible. Best Erick On Mon, Apr 4, 2011 at 7:13 AM,

OutOfMemoryError with FSDirectory

2011-04-04 Thread Claudio
Hi, I am using Lucene 2.9.4 with FSDirectory. My index has 80 thousand documents (each document has 12 fields). My jvm has 70Mb of RAM memory (limited by my hosting). I am getting various OutOfMemoryError. I ran jmap and I got: num #instances#bytesClass description

Simple tf cosine similarity

2009-08-13 Thread Claudio Gennaro
of the term frequencies of document i; Q = vector of the term frequencies of the Query; * = scalar product; || = norm of the vector (the square root of the sum of the squares of the entries of the vector). I wasn't able to find a way to evaluate |D_i|. Thank you Cl

Simple Cosine Similarity

2009-08-13 Thread Claudio Gennaro
I would like to know if there is a simple way to force Lucene to adopt the simple cosine similarity of the term frequency vectors of the documents and the query for ranking the result. Thank you Claudio - To unsubscribe, e

R: sumOfSquaredWeights for lengthNorm

2009-08-10 Thread Claudio Gennaro
frequencies. Claudio -Messaggio originale- Da: Grant Ingersoll [mailto:gsing...@apache.org] Inviato: lunedì 10 agosto 2009 15.18 A: java-user@lucene.apache.org Oggetto: Re: sumOfSquaredWeights for lengthNorm You can override the Similarity class and set it on both the IndexWriter and the

SpanNearQuery: how to get the "intra-span" matching positions?

2008-05-30 Thread Claudio Corsi
re spans, but at the same time it have to support the "near" queries. Thank you! -- Claudio Corsi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]