Hi Marisol, Can you find the [INFO] entry in the Solr log for this document? That should help clear up any confusion.
Also, for what it is worth, MCF 1.10 is not using a SolrJ that is up to date with Solr 6.x. That could be the source of the problem Is there any reason you are using a 1.x version of MCF? Karl On Tue, Feb 21, 2017 at 8:42 AM, Marisol Redondo < [email protected]> wrote: > Hi. > > I'm trying to use metadata adjuster to add one field to the solr index but > doesn't inject the field into a solr's field. > Maybe I'm misundertaning the use of the metada adjuster, but I have read > in the documentation (https://manifoldcf.apache.org > /release/release-1.10/en_US/end-user-documentation.html) that I can add > metadata to the document that is going to be indexed into solr, but the > solr instance gave me the error "missing required field: > facetContentType". > > ManifoldCF Job pipeline: > 1. Repository (type web repository) > 2. Transformation (Tikka Metadata Extractor) > 3. Transformation (type Metada Adjuster) > 4. Output (Solr 6) > > ManifoldCF Job Metadata Expressions tab: > Parameter name: "facetContentType" > Remove this parameter: false > Expresion: xxxx (the literal text value I want in facetContentType) > > Solr schema: > ..... > <field name="facetContentType" type="string" indexed="true" > stored="true" required="true"/> > .... > > The error logged in ManifoldCF is: > Error from server at http://solrServer:port/solr/c > <http://revnetsolrdev:8983/solr/sites>ore: [doc=https://....../index.aspx] > missing required field: facetContentType. > > Thanks for your help >
