lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mahdi yari" <yarima...@gmail.com>
Subject Re: Merge index will maintain index order
Date Mon, 20 Oct 2008 13:47:54 GMT
i can not understand about last sentence "So the final index will only ..."
can you write more about this, because i have same question...
thanks

On Mon, Oct 20, 2008 at 2:04 PM, Michael McCandless <
lucene@mikemccandless.com> wrote:

>
> By merge you mean using addIndexes*, right?
>
> Those methods logically concatenate the indices in order by doc ID.  So the
> original docs in your index will keep all their docIDs, and the newly added
> indices are assigned docIDs after that, in the order they were added.
>
> So the final index will only be chronologically ordered by doc ID only if
> the indexes you added were all ordered chronologically by docID, and after
> all docs in the original index.
>
> Mike
>
>
> Ganesh wrote:
>
>  Hello all,
>>
>> I am planning to merge two or more indexes. Once merged, will the DB
>> maintain the same index order as before merge?
>> I am doing sorting on Index Order as sorting on date-time takes more
>> amount of RAM. If i merge the index DB, will the same index order be
>> maintained or the indexes will be overlapped?
>>
>> Regards
>> Ganesh
>>
>> Send instant messages to your online friends
>> http://in.messenger.yahoo.com
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message