|
|
addIndexesNoOptimize is only for shards.
But this [pending patch/contribution] is similar what you're seeking, I think:
https://issues.apache.org/jira/browse/LUCENE-1879
It does not actually merge the indexes, but rather keeps 2 parallel
indexes in sync so you can use ParallelReader to search them
coherently.
Mike
On Tue, Nov 3, 2009 at 1:46 PM, Britske <gbrits@xxxxxxxxx> wrote:
>
> Given two parallel indexes which contain the same products but different
> fields, one with slowly changing fields and one with fields which are
> updated regularly:
>
> Is it possible to periodically merge these to form a single index? (thereby
> representing a frozen snapshot in time)
>
> For example: Can indexWriter.addIndexesNoOptimize handle this, or was it
> (only) designed for merging shards?
> If not, is there another option (3rd party or not) to use, or would I have
> to resort to low-level ?
>
> Thanks,
> Geert-Jan
> --
> View this message in context:
> http://old.nabble.com/merging-Parallel-indexes-%28can-indexWriter.addIndexesNoOptimize-be-used-%29-tp26161322p26161322.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@xxxxxxxxxxxxxxxxx
> For additional commands, e-mail: java-user-help@xxxxxxxxxxxxxxxxx
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@xxxxxxxxxxxxxxxxx
For additional commands, e-mail: java-user-help@xxxxxxxxxxxxxxxxx
|
|