Hi everyone, I figured it out. It is as simple as creating a List<String> and using that as the value part for SolrInputDocument.addField() API.
Thanks, Steven On Wed, Sep 16, 2020 at 9:13 PM Steven White <swhite4...@gmail.com> wrote: > Hi everyone, > > I want to avoid creating a <copyField dest="CatchAll" > source="OneFieldOfMany"/> in my schema (there will be over 1000 of them and > maybe more so managing it will be a pain). Instead, I want to use SolrJ > API to do what <copyField/> does. Any example of how I can do this? If > there is an example online, that would be great. > > Thanks in advance. > > Steven >