Hey Erick, Thanks for addressing.
Copyfields are intended to copy exactly one field in the input into exactly > one field in the destination, not multiple ones at the same time. Documentation says that we can copy multiple fields using wildcard to one or more than one fields. Remember that Solr is also dealing with dynamic fields. In this case, what > does “*_x” mean? Yes, that's what hit me initially. But, "*_x" while indexing (in XMLs) doesn't mean anything, right? It's only used in dynamicFields while defining schema to let Solr know that we would have some undeclared fields having names like this. Also, according to the documentation, we can have dest="*_x" when source="*_x" if I'm right. In this case, there's support for multiple destinations when there are multiple source. Or is this mostly curiosity? I'm just curious what exactly restricts multiple destination and single source. And what use-case do you want to solve? Yes, it does seem not too practical. Maybe impossibility of chaining copyFields is the reason here. I'm just curious about the implementation - there should be a catch. Anyways, thanks for replying, Erick. :) On Wed, 23 Oct 2019 at 17:41, Erick Erickson <erickerick...@gmail.com> wrote: > So how would that work? Copyfields are intended to copy exactly one field > in the input into exactly one field in the destination, not multiple ones > at the same time. If you need to do that, define multiple copyField > directives. > > I don’t even see how that would work. <copyField src=“whatever” > dest=“*_x”/>. Remember that Solr is also dealing with dynamic fields. In > this case, what does “*_x” mean? Create N new fields? > > And what use-case do you want to solve? Or is this mostly curiosity? > > Best, > Erick > > > On Oct 23, 2019, at 7:55 AM, Paras Lehana <paras.leh...@indiamart.com> > wrote: > > > > Can't we have one source field > > information that is copied into different fields > > -- -- Regards, *Paras Lehana* [65871] Development Engineer, Auto-Suggest, IndiaMART Intermesh Ltd. 8th Floor, Tower A, Advant-Navis Business Park, Sector 142, Noida, UP, IN - 201303 Mob.: +91-9560911996 Work: 01203916600 | Extn: *8173* -- IMPORTANT: NEVER share your IndiaMART OTP/ Password with anyone.