This was mainly very wishful thinking on my part :)

Sadly, I'm still far from an expert on the low-level Lucene internals, so I'm only waving my hands at a high-level here.

Storing all fields is not a practical solution, at least in many situations. So the GData update is quite a tricky one then.

        Erik


On Apr 20, 2006, at 1:11 PM, Yonik Seeley wrote:

On 4/20/06, Erik Hatcher <[EMAIL PROTECTED]> wrote:
So to turn it around to ask you a question, what would it take to
allow a Lucene document to be "updatable" at the field granularity,
such that no other fields need to be specified again?

That sounds like quite a job in Lucene... one thing for a stored
field, but quite another for indexed fields.   Even if you could
update things like TermDocs, you don't know what terms are currently
pointing to your document.  I personally don't see an easy (or
remotely practical) way.

The easiest way I can think of to get that effect is to store all the
fields so you can re-create the Document and change the field being
updated.

-Yonik

Reply via email to