You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Matt Chaput <ma...@sidefx.com> on 2007/03/21 18:03:21 UTC

How does segment merging work

Aside from the useful exchange I had with Robert, I'd still like to know 
how Lucene knows what value to write in the "term count" part of the 
term dictionary header when it's merging segments -- even if I decide 
forgo it in my own re-implementation.

Of course, I can always just dive into the code. Just thought I'd ask 
one more time.

Thanks,

Matt

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


Re: How does segment merging work

Posted by Matt Chaput <ma...@sidefx.com>.
robert engels wrote:
> It seeks back at the end to the location and writes the size.

Ah! Sorry I didn't get that. Thanks for your help!

Matt

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


Re: How does segment merging work

Posted by robert engels <re...@ix.netcom.com>.
It seeks back at the end to the location and writes the size.

On Mar 21, 2007, at 12:03 PM, Matt Chaput wrote:

> Aside from the useful exchange I had with Robert, I'd still like to  
> know how Lucene knows what value to write in the "term count" part  
> of the term dictionary header when it's merging segments -- even if  
> I decide forgo it in my own re-implementation.
>
> Of course, I can always just dive into the code. Just thought I'd  
> ask one more time.
>
> Thanks,
>
> Matt
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>


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