Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-1856

In Solr Cell, literals should override Tika-parsed values

    XMLWordPrintableJSON

Details

    Description

      I propose that ExtractingRequestHandler / SolrCell literals should take precedence over Tika-parsed metadata in all situations, including where multiValued="true". (Compare SOLR-1633?)

      My personal motivation is that I have several fields (e.g. "title", "date") where my own metadata is much superior to what Tika offers, and I want to throw those Tika values away. (I actually wouldn't mind throwing away all Tika-parsed values, but let's set that aside.) SOLR-1634 is one potential approach to this, but the fix here might be simpler.

      I'll attach a patch shortly.

      Attachments

        1. SOLR-1856.patch
          8 kB
          Jan Høydahl
        2. SOLR-1856.patch
          5 kB
          Chris Harris

        Issue Links

          Activity

            People

              janhoy Jan Høydahl
              ryguasu Chris Harris
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: