On 5/24/22 07:40, Vincenzo D'Amore wrote:
Just another question, so having a new schema.xml, for the "id" field and
the other fields that are pint/plong/string/etc.. (i.e. have
"docValues=true") should I apply uninvertible=false ?

Yes.  If the field has docValues then there is no reason for it to be uninvertable.  It's probably not strictly necessary to configure that, but configuring it ensures that a (potentially) large on-heap memory structure cannot ever be created.

I agree with Michael that we really should have a way to globally set uninvertable to false.  I think that's an excellent thing to do with schema version 1.7 (since I believe the max version right now is 1.6) -- uninvertable defaults to false.  I will open an issue.

Thanks,
Shawn

Reply via email to