This sounds like incremental field updates :). Shai
On Mon, Jan 17, 2011 at 1:24 PM, Michael McCandless < luc...@mikemccandless.com> wrote: > On Sun, Jan 16, 2011 at 11:35 AM, Jason Rutherglen > <jason.rutherg...@gmail.com> wrote: > >> But: they don't yet support updating the values (the goal is to allow > >> this, eventually). This is just the first step. > > > > No? Hmm... I thought that was a main part of the functionality? > > Patches welcome ;) > > Seriously, how would you do it? IE, I don't like how norms handle it > today -- on changing a single value we must write the full array (for > all docs). Same problem w/ del docs, though since its 1 bit per doc > the cost is far less. > > Better would be a stacked approach, where the orig full array remains > and we write sparse deltas (pairs of docID + new value), and at init > we load the base and apply all the diffs (in order). Merging would > periodically coalesce them down again... > > Mike > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org > For additional commands, e-mail: dev-h...@lucene.apache.org > >