mirror of
https://github.com/silverstripe/silverstripe-textextraction
synced 2024-06-27 23:19:39 +02:00
21ed6e0f86
Tika server reports it's version as "Apache Tika 1.7". Unfortunately, `version_compare` in PHP says that version "1.7" is less than version "1.7.0", meaning that Tika server was incorrectly being ruled out unless you used Tika server version 1.8 (where "1.8" > "1.7.0"). Changing the comparison string to just "1.7" means they match exactly, and therefore `version_compare` will return `0` rather than `-1`. |
||
---|---|---|
.. | ||
FileTextExtractor | ||
FileTextExtractor.php | ||
HTMLTextExtractor.php | ||
PDFTextExtractor.php | ||
SolrCellTextExtractor.php | ||
TikaServerTextExtractor.php | ||
TikaTextExtractor.php |