Lucene and servlet integration?

One thing to keep in mind is that the recommendation is to have a single IndexWriter We went the route of keeping it inside the servlet, and a problem we faced is that with an NLB pair you have two servlets, each of whom want to write. This requires you to either pay a hefty performance penalty, or else somehow designate one of them as the writer If you have more than two servers, this problem of course becomes even more acute. But if you're talking about everything running inside a single process, then maybe this isn't something to worry about I'd encourage you to reconsider Solr.It does in some sense have a bigger feature set, so I can understand why you would feel like it's "overkill", but it's usually quicker to set up and easier to use - meaning that pure Lucene might be the one that's overkill.

One thing to keep in mind is that the recommendation is to have a single IndexWriter. We went the route of keeping it inside the servlet, and a problem we faced is that with an NLB pair you have two servlets, each of whom want to write. This requires you to either pay a hefty performance penalty, or else somehow designate one of them as the writer.

If you have more than two servers, this problem of course becomes even more acute. But if you're talking about everything running inside a single process, then maybe this isn't something to worry about. I'd encourage you to reconsider Solr.It does in some sense have a bigger feature set, so I can understand why you would feel like it's "overkill", but it's usually quicker to set up and easier to use - meaning that pure Lucene might be the one that's overkill.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions