Hi Marisol, I proved here that the Metadata Adjuster works as described in the documentation, and that it can add metadata fields as promised. I posted the proof. So I really don't know where the disconnect lies.
Karl On Tue, Feb 28, 2017 at 5:35 AM, Marisol Redondo < [email protected]> wrote: > Hi, sorry for not answering early. I have been trying to create my own > tranformation or changing the NullOutput one, but I'm still trying to do it > (I'm having problems installing MCF to modifiy it) > > But, we have found a way of fixing the problem. > > The Metadata ajuster doesn't add new metadata into the document before > injecting into solr, it only can change the value of a existed metadata (at > least, this is the behaviour we are seeing). > So, to make it works we have: > - In the Tika transformer we are using, we add the next field mapping: > Metadata field Name: *existedMetadata* > Final field name: facetContentType > - In the Metadata Adjuster: > Parameter Name: facetContentType > Expresion: *myText* > > Thanks for your help. > > >
