Solr
  1. Solr
  2. SOLR-833

A DataSource to read data from a field as a reader

    Details

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

      Description

      This can be useful for users who has a DB field containing xml and wish to use a nested XPathEntityProcessor

      The datasouce may be configured as follows

      <datasource name="f1" type="FieldReaderDataSource" />
      

      The enity which uses this datasource must keep the url value as the varaible name url="field-name"

      The fieldname must be resolvable from VariableResolver

      This may be used with any EntityProcessor which uses a DataSource<Reader> eg:XPathEntityProcessor

      1. SOLR-833.patch
        15 kB
        Shalin Shekhar Mangar
      2. SOLR-833.patch
        10 kB
        Noble Paul
      3. SOLR-833.patch
        3 kB
        Noble Paul

        Issue Links

          Activity

          Hide
          Noble Paul added a comment -

          supports String ,BLOB, CLOB data types
          there is an extra field (in the entity) 'encoding' for BLOB types

          Show
          Noble Paul added a comment - supports String ,BLOB, CLOB data types there is an extra field (in the entity) 'encoding' for BLOB types
          Hide
          Noble Paul added a comment -

          added testcase

          Show
          Noble Paul added a comment - added testcase
          Hide
          Shalin Shekhar Mangar added a comment -

          Bringing patch in sync with trunk (it broke due to to SOLR-824 commit).

          This patch also has a few changes which make writing tests for DIH easier. Now we do not need schema or solrconfig to test DIH features. I'll commit this shortly.

          Show
          Shalin Shekhar Mangar added a comment - Bringing patch in sync with trunk (it broke due to to SOLR-824 commit). This patch also has a few changes which make writing tests for DIH easier. Now we do not need schema or solrconfig to test DIH features. I'll commit this shortly.
          Hide
          Shalin Shekhar Mangar added a comment -

          Committed revision 713343.

          Thanks Noble!

          Show
          Shalin Shekhar Mangar added a comment - Committed revision 713343. Thanks Noble!
          Hide
          Grant Ingersoll added a comment -

          Bulk close for Solr 1.4

          Show
          Grant Ingersoll added a comment - Bulk close for Solr 1.4

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development