Chris Hostetter wrote:
: Basically I'm thinking of writing a different kind of IndexReader which
: uses a database to return fake terms for things like tags. The idea
: would be that it can be slotted in alongside a real index via
: ParallelReader in order to provide the fast-changing part. So it would
: be possible to implement real queries on a database rather than the
how will you deal with docid renumbering as segments merge? (or can you
assume no deletions in your use cases?)
Yeah, in our use case the documents are never deleted (when your data is
evidence it's not a good idea to delete any. ;-))
Our database already keys on Lucene IDs, a decision made ages ago for
performance reasons; calling hits.doc(i) is much slower than hits.id(i)
plus we're trying to build filters based of database records where the
indexes are huge so it wasn't very practical to keep reading documents.
Daniel
--
Daniel Noll
Nuix Pty Ltd
Suite 79, 89 Jones St, Ultimo NSW 2007, Australia Ph: +61 2 9280 0699
Web: http://nuix.com/ Fax: +61 2 9212 6902
This message is intended only for the named recipient. If you are not
the intended recipient you are notified that disclosing, copying,
distributing or taking any action in reliance on the contents of this
message or attachment is strictly prohibited.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]