Skip to content

TIKA-4665-inference-module#2613

Merged
tballison merged 5 commits intomainfrom
TIKA-4665-inference-module
Feb 18, 2026
Merged

TIKA-4665-inference-module#2613
tballison merged 5 commits intomainfrom
TIKA-4665-inference-module

Conversation

@tballison
Copy link
Contributor

Thanks for your contribution to Apache Tika! Your help is appreciated!

Before opening the pull request, please verify that

  • there is an open issue on the Tika issue tracker which describes the problem or the improvement. We cannot accept pull requests without an issue because the change wouldn't be listed in the release notes.
  • the issue ID (TIKA-XXXX)
    • is referenced in the title of the pull request
    • and placed in front of your commit messages surrounded by square brackets ([TIKA-XXXX] Issue or pull request title)
  • commits are squashed into a single one (or few commits for larger changes)
  • Tika is successfully built and unit tests pass by running ./mvnw clean test
  • there should be no conflicts when merging the pull request branch into the recent main branch. If there are conflicts, please try to rebase the pull request branch on top of a freshly pulled main branch
  • if you add new module that downstream users will depend upon add it to relevant group in tika-bom/pom.xml.

We will be able to faster integrate your pull request if these conditions are met. If you have any questions how to fix your problem or about using Tika in general, please sign up for the Tika mailing list. Thanks!

tballison and others added 5 commits February 17, 2026 14:28
…arkdown

- Add TIKA_CONTENT_HANDLER_TYPE metadata property to TikaCoreProperties
  so downstream components (inference pipeline, emitters) can determine
  what format tika:content is in without guessing.
- Add getHandlerTypeName() to ContentHandlerFactory interface with
  default "UNKNOWN"; BasicContentHandlerFactory returns the HANDLER_TYPE
  enum name (TEXT, MARKDOWN, HTML, XML).
- Record handler type in RecursiveParserWrapperHandler and ParseHandler.
- Switch default content handler from TEXT to MARKDOWN in
  BasicContentHandlerFactory and TikaLoader. Markdown preserves
  structural boundaries (headings, lists, code blocks) which enables
  higher-quality chunking in the inference pipeline.

Co-authored-by: Cursor <cursoragent@cursor.com>
- Add tika-inference module with markdown-aware chunking (MarkdownChunker),
  chunk serialization, OpenAI embedding filter/parser, and vector
  serialization for downstream search/RAG pipelines.
- Add locator abstractions (paginated, spatial, temporal, text) for
  tracking chunk provenance within source documents.
- Add migration docs: chunk strategies and inference handler requirements.

Co-authored-by: Cursor <cursoragent@cursor.com>
…odule

# Conflicts:
#	tika-core/src/main/java/org/apache/tika/sax/BasicContentHandlerFactory.java
#	tika-core/src/main/java/org/apache/tika/sax/ContentHandlerFactory.java
#	tika-core/src/main/java/org/apache/tika/sax/RecursiveParserWrapperHandler.java
#	tika-pipes/tika-pipes-core/src/main/java/org/apache/tika/pipes/core/server/ParseHandler.java
@tballison tballison merged commit 315ed1e into main Feb 18, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant