Re: DisjunctionMinQuery

2023-11-08 Thread Michael Froh
Hi Marc, Can you clarify what the semantics of a DisjunctionMinQuery would be? Would you keep the score for the *lowest* scoring disjunct (plus some tiebreaker applied to the other matching disjuncts)? I'm trying to imagine how that would work compared to the classic DisMax use-case. Say I'm sear

DisjunctionMinQuery

2023-11-08 Thread Marc D'Mello
Hi all, I noticed we have a DisjunctionMaxQuery but not a corresponding DisjunctionMinQuery. I was just wondering if there was a specific reason for that? Or is it just that it

Re: Field[vector]vector's dimensions must be <= [1024]; got 1536

2023-11-08 Thread Michael Wechner
Hi Uwe Thank you very much for confirming the code! Yes, I only set it for the IndexWriter, but what I meant to ask was, what if the default Codec gets updated and I will update my implementation, then I guess I will have to reindex from scratch, right? Or can I assume that the default Codec

Re: Field[vector]vector's dimensions must be <= [1024]; got 1536

2023-11-08 Thread Uwe Schindler
Hi Michael, The version below looks correct. Of course the Solr version is able to do much more. The code you posted limits it to the bare minimum: * subclass default codec * implement getKnnVectorsFormatForField() and return the wrapper with other max dimension Reading indexes still wor