Steve,

Thanks so much for your reminding!

I will learn Solr. But I still wonder if "indexWriter.AddIndexesNoOptimize"
will block the reading the relevant indexes until it is completed. Could you
answer me?

Best regards,
Bing

On Sat, Nov 20, 2010 at 4:46 PM, Steve Martin <[email protected]> wrote:

> Bing,
> Solr really is quite simple to set up and will definitely provide you with
> a robust infrastructure from which to load balance. Definitely worth the
> investment in time to learn.
> Manually copying Lucene index files around is something you really ought
> not to be doing.
>
> Regards, Steve
>
>
>
> On 19 Nov 2010, at 17:23, Bing Li <[email protected]> wrote:
>
> > Hi, all,
> >
> > Since I didn't find that Lucene presents updated indexes to us, may I
> > transmit indexes in the following way?
> >
> > 1) One indexing machine, A, is busy with generating indexes;
> >
> > 2) After a certain time, the indexing process is terminated;
> >
> > 3) Then, the new indexes are transmitted to machines which serve users'
> > queries;
> >
> > 4) It is possible that some index files have the same names. So the
> > conflicting files should be renamed;
> >
> > 5) After the transmission is done, the transmitted indexes are removed
> from
> > A.
> >
> > 6) After the removal, the indexing process is started again on A.
> >
> > The reason I am trying to do that is to load balancing the search load.
> One
> > machine is responsible for generating indexes and the others are
> responsible
> > for responding queries.
> >
> > If the above approaches do not work, may I see the updates of indexes in
> > Lucene? May I transmit them? And, may I append them to existing indexes?
> > Does the appending affect the querying?
> >
> > I am learning Solr. But it seems that Solr does that for me. However, I
> have
> > to set up Tomcat to use Solr. I think it is a little bit heavy.
> >
> > Thanks!
> > Bing Li
>
>

Reply via email to