lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Earwin Burrfoot <>
Subject Stored fields access
Date Thu, 25 Feb 2010 12:52:13 GMT
I'm thinking, should Lucene introduce new interface to read stored
document fields?

Current 'Document document(int n)' mechanism is barely usable due to
overhead involved. While I believe underlying index structure works
pretty fast (if it fits in memory, as is the case for most
performance-concerned installations), there's no adequate access to it
and people are forced to introduce contraptions like LinkedIn's
payload-assisted luceneId<->appId mapping or similar caches we employ.

What I am thinking about is something along the lines of existing
iterators like TermDocs/TermPositions. Iterate over docs, then iterate
over fields stored for each, extract data, ???, profit.

Kirill Zakharenko/Кирилл Захаренко (
Home / Mobile: +7 (495) 683-567-4 / +7 (903) 5-888-423
ICQ: 104465785

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

View raw message