Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-7353

oak-run tika extraction should support getting assistance from stored indexed data from a lucene index

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.10.0, 1.9.3
    • Component/s: lucene, oak-run
    • Labels:
      None

      Description

      oak-run supports pre-text-extraction [0] which does a great job at doing text extraction in parallel so that in can be used ingested later during indexing.

      But:

      • it still reaches to datastore, which, in case of s3 could be very slow
      • it still does extraction (duh!) - which is expensive

      A common case where we want to get pre-extracted text is reindexing - say on update of index definition which won't impact extracted data from binaries (basically updates which don't change tika configuration)
      In those case, it's often possible that there is a version on indexed data from older version of index def that can supply extracted text (as it's binary properties are indexed as stored fields)

      So, essentially, it would be nice to have tika based pre-text-extraction be able to consult an index and pick extracted text from there to fill up text extraction store. Of course, if the index doesn't have data for a given binary, it should still fallback to extract it.

      [0]: https://jackrabbit.apache.org/oak/docs/query/pre-extract-text.html

        Attachments

          Activity

            People

            • Assignee:
              catholicon Vikas Saurabh
              Reporter:
              catholicon Vikas Saurabh
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: