# Package de.pangaea.metadataportal.processor

This package provides panFMP's document processor (used to parse and transform documents for indexing with Elasticsearch) and corresponding classes.

- Class Summary
  Class | Description
  --- | ---
  DocumentProcessor | Component of panFMP that analyzes and indexes harvested documents in a thread pool.
  ElasticsearchConnection | TODO
  MetadataDocument | This class holds all information harvested and provides methods for `DocumentProcessor` to create a `XContentBuilder` instance from it.
  MinimalTransportClient | This is a minimalistic `TransportClient` using Netty 4 only.
  XPathResolverImpl | Helper class that implements several XPath interfaces to supply variables and functions to XPath expressions.

- Enum Summary
  Enum | Description
  --- | ---
  DocumentErrorAction | Enumeration that specifies what action should be taken on a document error.

- Exception Summary
  Exception | Description
  --- | ---
  BackgroundFailure | `DocumentProcessor` throws this exception, if an error occurs in the processing threads.