> ## Documentation Index
> Fetch the complete documentation index at: https://doc.lucidworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Apache Tika Container parser stage

[localhost link]: http://localhost:3000/docs/5/fusion/reference/config-ref/parser-stages/apache-tika-container

[mintlify link]: https://doc.lucidworks.com/docs/5/fusion/reference/config-ref/parser-stages/apache-tika-container.md

[old doc.lw link]: https://doc.lucidworks.com/fusion/5.9/0b2upm.md

> [!NOTE]
>
> This feature is available starting in Fusion 5.9.11 and in all subsequent Fusion 5.9 releases.

Apache Tika Container is a versatile parser that supports many types of unstructured document formats, such as HTML, PDF, Microsoft Office, OpenOffice, RTF, audio, video, images, and more. A complete list of supported formats is available at [Apache Tika](http://tika.apache.org/).

See **Use Tika Asynchronous Parsing** for detailed steps to set up asynchronous parsing.

> [accordion] Use Tika Asynchronous Parsing
>
> This document describes how to set up your application to use Tika asynchronous parsing.
>
> Unlike synchronous Tika parsing, which uses a parser stage, asynchronous Tika parsing is configured in the datasource and index pipeline. For more information, see [Asynchronous Tika Parsing](https://doc.lucidworks.com/docs/5/fusion/getting-data-in/indexing/asynchronous-tika-parsing.md).
>
> > [!TIP]
> >
> > **Field names change with asynchronous Tika parsing.**
> >
> > In contrast to synchronous parsing, asynchronous Tika parsing prepends `parser_` to fields added to a document. System fields, which start with `\_lw_`, are not prepended with `parser_`.  If you are migrating to asynchronous Tika parsing, and your search application configuration relies on specific field names, update your search application to use the new fields.
>
> > [card] Key questions to get you started
> >
> > Powered by Lucidworks Agent Studio
>
> ## Configure the connectors datasource
>
> 1. Navigate to your datasource.
> 2. Enable the **Advanced** view.
> 3. Enable the **Async Parsing** option.
>
>    ![Enable async option](https://mintcdn.com/lucidworks/VKnUHJXP6sWH55ak/assets/images/5.8/tika-parser-migration-7.png?fit=max\&auto=format\&n=VKnUHJXP6sWH55ak\&q=85\&s=9cfa30dbec1b533642f531001c611859)
>
>    > [!TIP]
>    >
>    > **Fusion 5.9.11 and later uses your parser configuration when using asynchronous parsing.**
>    >
>    > The asynchronous parsing service performs Tika parsing using Apache Tika Server.     In Fusion 5.8 through 5.9.10, other parsers, such as HTML and JSON, are not supported by the asynchronous parsing service. By enabling asynchronous parsing, the parser configuration linked to your datasource is ignored.     In Fusion 5.9.11 and later, other parsers, such as HTML and JSON, are supported by the asynchronous parsing service. By enabling asynchronous parsing, the parser configuration linked to your datasource is used.
> 4. Save the datasource configuration.
>
> ## Configure the parser stage
>
> > [!TIP]
> >
> > You must do this step in Fusion 5.9.11 and later.
>
> 1. Navigate to **Parsers**.
> 2. Select the parser, or create a new parser.
> 3. From the **Add a parser stage** menu, select **Apache Tika Container Parser**.
> 4. (Optional) Enter a label for this stage. This label changes the names from Apache Tika Container Parser to the value you enter in this field.
> 5. If the Apache Tika Container Parser stage is not already the first stage, drag and drop the stage to the top of the stage list so it is the first stage that runs.
>
> ## Configure the index pipeline
>
> 1. Go to the **Index Pipeline** screen.
> 2. Add the **Solr Partial Update Indexer** stage.
> 3. Turn off the **Reject Update if Solr Document is not Present** option and turn on the **Process All Pipeline Doc Fields** option:
>
>    ![Tika config setup](https://mintcdn.com/lucidworks/VKnUHJXP6sWH55ak/assets/images/5.8/tika-parser-migration-2.png?fit=max\&auto=format\&n=VKnUHJXP6sWH55ak\&q=85\&s=19da81f65d2eec57f0f7283e210eb487)
> 4. Include an extra update field in the stage configuration using any update type and field name. In this example, an incremental field `docs_counter_i` with an increment value of `1` is added:
>
>    ![Tika config setup](https://mintcdn.com/lucidworks/VKnUHJXP6sWH55ak/assets/images/5.8/tika-parser-migration-5.png?fit=max\&auto=format\&n=VKnUHJXP6sWH55ak\&q=85\&s=2caeca79dd016fe540d1b7388c2f85f0)
> 5. Enable the **Allow reserved fields** option:
>
>    ![Tika config setup](https://mintcdn.com/lucidworks/VKnUHJXP6sWH55ak/assets/images/5.8/tika-parser-migration-4.png?fit=max\&auto=format\&n=VKnUHJXP6sWH55ak\&q=85\&s=cd9d61870b1d603b5880894f67d3ed48)
> 6. Click **Save**.
> 7. Turn off or remove the **Solr Indexer stage**, and move the **Solr Partial Update Indexer stage** to be the last stage in the pipeline.
>
>    ![Tika config setup](https://mintcdn.com/lucidworks/VKnUHJXP6sWH55ak/assets/images/5.8/tika-parser-migration-6.png?fit=max\&auto=format\&n=VKnUHJXP6sWH55ak\&q=85\&s=d69738f76b005b608d1ac7b948a99675)
>
> Asynchronous Tika parsing setup is now complete. Run the datasource indexing job and monitor the results.

> [!TIP]
>
> When entering configuration values in the UI, use *unescaped* characters, such as `\t` for the tab character. When entering configuration values in the API, use *escaped* characters, such as `\\t` for the tab character.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.