feat(search): extract more data from tika 4 (if available) - #3198
Conversation
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Duplication | 4 |
🟢 Coverage 97.18% diff coverage
Metric Results Coverage variation Report missing for 49ebe071 Diff coverage ✅ 97.18% diff coverage Coverage variation details
Coverable lines Covered lines Coverage Common ancestor commit (49ebe07) Report Missing Report Missing Report Missing Head commit (5e4f124) 85849 20133 23.45% Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch:
<coverage of head commit> - <coverage of common ancestor commit>Diff coverage details
Coverable lines Covered lines Diff coverage Pull request (#3198) 213 207 97.18% Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified:
<covered lines added or modified>/<coverable lines added or modified> * 100%1 Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
c7c0551 to
35231b1
Compare
35231b1 to
add256c
Compare
19fb88d to
a9c7079
Compare
2329c62 to
240239d
Compare
…the audio-only gate
Tika 4.0.0 renamed the meta prefix from X-TIKA: to tk:.
Both tika pins (local compose and the CI service) point at apache/tika:4.0.0-full; the search README links tika version-less.
240239d to
5e4f124
Compare
Stacked on #3197 (search schema-change handling).
Splits the tika extractor and its tests into per-facet files and fills the facet properties Tika 4.0.0 exposes:
Works against Tika 3 and 4 at the same time: full text is read from
tk:contentwith the legacyX-TIKA:contentas fallback (4.0.0 renamed the meta prefix), and language detection for stop-word cleaning asks/languagefirst with the legacy/language/stringas fallback (4.0.0 moved the endpoint, go-tika only knows the old path). The new facet keys only exist on Tika 4, an older Tika simply leaves those facets empty. The acceptance suite runs against the releasedapache/tika:4.0.0-full; CI sets the tika service workdir to/opt/tika-serversince Tika 4 discovers its plugins relative to it (TIKA-4864).