Thanks, Yonik.
TermInfosReader is exactly the class I am looking for.
Kan
--- Yonik Seeley <[EMAIL PROTECTED]> wrote:
> On 1/12/06, Kan Deng <[EMAIL PROTECTED]> wrote:
> > Many thanks, Doug.
> >
> > A quick question, which class implements the
> following
> > logic?
>
> It looks to me like
On 1/12/06, Kan Deng <[EMAIL PROTECTED]> wrote:
> Many thanks, Doug.
>
> A quick question, which class implements the following
> logic?
It looks to me like org.apache.lucene.index.TermInfosReader
-Yonik
-
To unsubscribe, e-mail
Many thanks, Doug.
A quick question, which class implements the following
logic?
org.apache.lucene.search.IndexSearcher?
> For access, Lucene is equivalent to a B-Tree
> with all but the leaves cached in memory, so
> that accesses require only a single disk access.
thanks,
Kan
--- Dou
B-Tree's are best for random, incremental updates. They require
log_b(N) disk accesses for inserts, deletes and accesses, where b is the
number of entries per page, and N is the total number of entries in the
tree. But that's too slow for text indexing. Rather Lucene uses a
combination of fi
in this issue in more depth?
>
> thanks,
> Kan
>
>
>
> --- shailesh kumar <[EMAIL PROTECTED]> wrote:
>
> > I had looked at the document you had listed as
> > well as used a Hex editor to look at the segment
> > files. .That is how I came to kn
On Donnerstag 12 Januar 2006 05:47, shailesh kumar wrote:
> I had looked at the document you had listed as well as used a Hex
> editor to look at the segment files. .That is how I came to know about
> the lexicographic sorting. But was not sure if BTree is used. If I
> understand
ic sorting. But was not sure if BTree is
> used. If I understand correctly a Binary tree (i.e
> each node only 2 children) or a high order
> Balanced tree (where in a range of values are stored
> in the node and each node can have more than 2
> children) is the best way to se
I had looked at the document you had listed as well as used a Hex editor to
look at the segment files. .That is how I came to know about the lexicographic
sorting. But was not sure if BTree is used. If I understand correctly a Binary
tree (i.e each node only 2 children) or a high order
On Jan 11, 2006, at 7:23 AM, shailesh kumar wrote:
Does Lucene use a BTree kind of structure for storing the index
(atleast in the memory) .? or is it just a list. Based on the file
format in the index directory ( where in the terms are are
lexicographically sorted in one of the files ) I
Does Lucene use a BTree kind of structure for storing the index (atleast in the
memory) .? or is it just a list. Based on the file format in the index
directory ( where in the terms are are lexicographically sorted in one of the
files ) I am not sure if BTree is used. ( Because constructing
10 matches
Mail list logo