Re: How does the term infos file (.tis) works?

2009-10-01 Thread iron light
> It's better to use the TermEnum API (IndexReader.terms()) to step > through the terms, than to directly access the raw file (unless you > have some reason to do so...). > > Mike > > On Wed, Sep 30, 2009 at 6:29 AM, iron light wrote: > > I try to traverse all the ter

How does the term infos file (.tis) works?

2009-09-30 Thread iron light
I try to traverse all the term text in one tis files. And it failed. the code is below. Does I misunderstand something? The source code (especial the index namespace) is very complicated for me. Is there any more document about the design and something can help me understand the source? Thanks.