Git Product home page Git Product logo

Comments (7)

iotashan avatar iotashan commented on August 18, 2024

I agree. Want to add it and submit a merge request? :)

from cfsolrlib.

seancoyne avatar seancoyne commented on August 18, 2024

I'll fork and send you a pull request when its ready :) We can close this issue until then. Thanks!

from cfsolrlib.

seancoyne avatar seancoyne commented on August 18, 2024

OK, so this is much more difficult than I first imagined. I have managed to get it to accept custom metadata using the "literal.fieldname=value" parameters as described here: http://wiki.apache.org/solr/ExtractingRequestHandler but if I try to use a field name that matches a field returned by Tika, for example, "Title" Solr throws an error that I am trying to provide multiple values for a field that is not multiValue. Its trying to use both the Title returned by Tika and the Title I am providing. I even tried mapping the field from Tika to another field using the fmap parameters and it still doesn't like it. I will have to rethink this.

from cfsolrlib.

iotashan avatar iotashan commented on August 18, 2024

Ouch. I'll take a peek as soon as I can.

from cfsolrlib.

iotashan avatar iotashan commented on August 18, 2024

Looks like this is a Solr issue that I can't do anything about in this library...

http://lucene.472066.n3.nabble.com/Controlling-Tika-s-metadata-td2378677.html

from cfsolrlib.

seancoyne avatar seancoyne commented on August 18, 2024

Hmm, that may cause some issues, but I'm sure we can find a workaround. Thanks for looking into it.

from cfsolrlib.

iotashan avatar iotashan commented on August 18, 2024

The workaround is don't name your fields in your schema with common names... or prefix them.

"myTitle" instead of "title", etc.

from cfsolrlib.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.