Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2412

DB binary stores limit extracted text to 1000 characters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.2.0.Final
    • 4.1.0.Final
    • Storage
    • None

      The binary storage doesn't check the length of the ext_text field, during indexing of new documents. This doesn't work with H2, as it will throw an exception if the stored text exceeds the length of the database field. The attached database properties fix this issue by trimming the length of the inserted data, but there should be at least a warning that additional data will get lost. This fix only works, as the distribution doesn't contain a binary_store_h2_database.properties in org.modeshape.jcr.database

        1. binary_store_h2_database.properties
          2 kB
          Alexander Pilch
        2. my-repository-config.json
          1 kB
          Alexander Pilch
        3. my-repository-config.json
          1 kB
          Alexander Pilch

              hchiorean Horia Chiorean (Inactive)
              alexander.pilch Alexander Pilch (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: