Unfortunately that would require adding a new method to RepositoryDocument. You'd also want to add a runt default implementation in the base class, so that existing connectors will still function.
Karl On Wed, Oct 2, 2024 at 4:35 AM <emeric.ber...@francelabs.com> wrote: > Hello everyone, > > > > I’ve been working on a new transformation connector recently, and I’m > facing an issue. My connector (amonst other features), is supposed to > generate a dense vector (a Float array) in order to store it into Solr. > However, the RepositoryDocument (used in the transformation connector) does > not allow the use of “addField()” method with parameters other than String, > String[], Reader, Reader[], Date and Date[]. Do you have an idea how I > could add my Float[] ? > > > > Thanks ! > > > > Emeric Bernet-Rollande > *France Labs – Your knowledge, now* > > Datafari Enterprise Search - Retrouvez-nous au salon Big Data & IA > <https://www.bigdataparis.com/fr> les 15 et 16 octobre à Paris, stand F18 > > > > > <https://www.bigdataparis.com/fr/pass-salon?utm_campaign=bdaip24&utm_medium=emailspex&utm_source=FRANCE%20LABS> > > *Vous souhaitez accéder à l'ensemble des conférences ?* > > *Grâce à FRANCE LABS, vous bénéficiez d'un code promotionnel exclusif de > -20% * > > *👇* > > *BDAIP24-FRANCE LABS* > > > > >