On Sat, Mar 8, 2014 at 11:08 AM, Uwe Schindler <u...@thetaphi.de> wrote: ] >> >> I don't want this: there are some api problems to be resolved in trunk. I am >> unhappy about StoredDocument/IndexableDocument, which is intended to >> remove the confusion around "not getting your whole document back" >> when things arent stored: because docvalues fields appear in the stored >> document. so this really needs to be sorted out. > > I agree. At the time when we splitted the APIs, DocValues was not yet matured > in 4.x and trunk. I would love to have the StoredIndexableDocument stuff in > Lucene, it is now pending since 1.5 years in trunk (since my GSoC student did > it). I agree, we need to improve the API! But this would not have prevented > me from releasing it. It is not worse than the duplicate Sorter API, you > resolved last week :-) So feel free to improve the API, too! >
It is "worse" because every single lucene user must use the o.a.l.document API. So this is radically different from the index sorting api. As long as docvalues come back in a storedocument, then the stored/indexable change doesn't make sense at all, and we shouldnt release it that way. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org