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.

Andi..

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to