Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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