Solr
  1. Solr
  2. SOLR-1583

Create DataSources that return InputStream

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5
    • Labels:
      None

      Description

      Tika integration means the source has to be binary that is the DataSource must be of type DataSource<InputStream> . All the DataSource<Reader> should have a binary counterpart.

      • BinURLDataSource<InputStream>
      • BinContentStreamDataSource<InputStream>
      • BinFileDataOurce<InputStream>

        Issue Links

          Activity

          Hide
          Noble Paul added a comment -

          committed r888277

          Show
          Noble Paul added a comment - committed r888277
          Hide
          Lance Norskog added a comment -

          Is there some way to hide this problem from the user? It is one of those problems that will cause many newbie questions on the solr-user list

          For example, the DIH classloader could automatically search for a BinX when asked for an X, and otherwise use InputStreamReader to create a Reader out of the InputStream.

          Show
          Lance Norskog added a comment - Is there some way to hide this problem from the user? It is one of those problems that will cause many newbie questions on the solr-user list For example, the DIH classloader could automatically search for a BinX when asked for an X, and otherwise use InputStreamReader to create a Reader out of the InputStream.
          Hide
          Noble Paul added a comment -

          hiding which problem? why is there a problem?

          Show
          Noble Paul added a comment - hiding which problem? why is there a problem?
          Hide
          Lance Norskog added a comment -

          How is this used in the DIH config file? Do I have to use BinURLDataSource instead of URLDataSource when I use the Tika processor? If so, this is going to be more confusing to the user: it will be one more thing to get wrong.

          Those of us who did not write the DIH often find it confusing

          Show
          Lance Norskog added a comment - How is this used in the DIH config file? Do I have to use BinURLDataSource instead of URLDataSource when I use the Tika processor? If so, this is going to be more confusing to the user: it will be one more thing to get wrong. Those of us who did not write the DIH often find it confusing

            People

            • Assignee:
              Noble Paul
              Reporter:
              Noble Paul
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development