lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andi Vajda <>
Subject RE: Save to database...
Date Thu, 05 Jan 2006 16:38:16 GMT

On Thu, 5 Jan 2006, Robert Engels wrote:

> Yes, that is what I did in the "custom" persistence.
> There are some not so trivial problems to solve though. Normally you cannot
> seek with BLOBs, (a lot of JDBC/db impl will read the entire BLOB in all
> cases) so efficiently reading the postings can be difficult, although you
> can store the postings using a startdoc, enddoc, postings schema, which will
> allow skipTo() to function.

You cannot seek with BLOBs but you can break them into blocks of say, 16k, 
and seek to the relevant BLOB modulo 16k. This is essentially what the 
Berkeley DB-based Lucene Directory implementations are doing.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message