FAQ
Your setup sounds good to me.

Scott Smith wrote:
I'm not having a problem. The question is whether I picked a reasonable set
of parameters for what I'm doing.

I have an application which receives messages. Each message averages around
4k bytes and I get, on average, 0-10 every minute. So my application simply
wakes up once each minute, opens an IndexWriter, creates Docs for each
message, adds them to the index, and then closes the index writer. Once per
day I optimize the index. The access to the index is via webpages (so
multiple simultaneous accesses can occur and I don't want too much latency
between a message arriving and it's availability in the index). Based on
posts I saw in the user archives, I set the mergeFactor to 10 (which I think
is the default anyway). I probably get 10-20 MB's per day and I'll want to
index 60 day's of messages (so 600MB to 1.2GB of messages).

Does this sound like a reasonable approach? Any parameters I should change?
Any others I should be setting? So far it is working fine, but I haven't
had enough messages to see how things perform when the index gets large and
I am new to using Lucene. Wondered what people with more experience with
Lucene thought. I'm using 1.3RC3 if it matters.

Scott

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

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

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
groupjava-user @
categorieslucene
postedDec 12, '03 at 9:25p
activeDec 12, '03 at 9:48p
posts2
users2
websitelucene.apache.org

2 users in discussion

Doug Cutting: 1 post Scott Smith: 1 post

People

Translate

site design / logo © 2021 Grokbase