fl=createdByMap:concat("createdBy.userName: ",createdBy.userName,",","createdBy.name: ",createdBy.name," ...)
On Thu, Apr 30, 2020 at 3:20 PM sambasivarao giddaluri <sambasiva.giddal...@gmail.com> wrote: > > Hi Audrey, > > Yes i am aware of copyField but it does not fit in my use case. Reason is > while giving as output we have to show each field with its > value, with copy it combines the value but we do not know field and value > relationship. > > regards > sam > > On Wed, Apr 29, 2020 at 9:53 AM Audrey Lorberfeld - > audrey.lorberf...@ibm.com <audrey.lorberf...@ibm.com> wrote: > > > Hi, Sam! > > > > Have you tried creating a copyField? > > https://builds.apache.org/view/L/view/Lucene/job/Solr-reference-guide-8.x/javadoc/copying-fields.html > > > > Best, > > Audrey > > > > On 4/28/20, 1:07 PM, "sambasivarao giddaluri" < > > sambasiva.giddal...@gmail.com> wrote: > > > > Hi All, > > Is there a way we can map fields in a single field? > > Ex: scheme has below fields > > createdBy.userName > > createdBy.name > > createdBy.email > > > > If have to retrieve these fields need to pass all the three fields in > > *fl* > > parameter instead is there a way i can have a map or a object of these > > fields in to createdBy and in fl i pass only createdBy and get all > > these 3 > > as output > > > > Regards > > sam > > > > > >