Thanks for proposing your help. To me the issue is not that much about the
additional work it required when changing the doc values API, but rather
about the discrepancy between the best practices as recommended by Lucene
such as using doc values, consuming readers per segment and using points
for numerics and the fact that Solr, which should be the greatest example
of how to use Lucene, is not totally following them. I agree that things
are changing fast sometimes and changing is not easy, but some of the
things we are talking about here are more than 4 years old. I am also
concerned that these things are accumulating, for instance I can already
see how the integration of points is made harder by the fact that fields
are supposed to support uninverting. And even if we decide that the new
point fields do not need to support uninverting, then it will give users
the feeling that these new point fields are not feature-complete, which
would be a pity. On a similar note, I hope that we can prevent new indices
from using legacy numerics as of Solr 7 so that the implementation can be
completely removed in Solr 8 and points will be the only way to index
numerics.

If we decide that Solr should keep supporting uninverting, I will accept
it, but I genuinely think it would be better for Solr to eventually drop
this feature and require doc values for sorting, facets and functions.

Le mer. 26 oct. 2016 à 17:46, Yonik Seeley <[email protected]> a écrit :

> I understand that the existence of the FieldCache meant additional
> work when changing the DocValues APIs.
> Those APIs are core enough however, that hopefully they won't change
> too much in the future!
> In the event that they do though, I'll try and help out with any
> required transition.
>
> -Yonik
>
>
> On Wed, Oct 26, 2016 at 11:34 AM, Adrien Grand <[email protected]> wrote:
> > I hear you that FieldCache has different trade-offs. That said, doc
> values
> > look superior to me for a vast majority of users so I wish that we spent
> > energy on improving doc values, making IndexSearcher aware of index
> sorting,
> > or integrating points into Solr, which are more interesting ways to make
> > Solr faster to me than spending energy keeping FieldCache and uninverting
> > alive.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to