Class DocMetaConstants

java.lang.Object
com.norconex.importer.doc.DocMetaConstants

public final class DocMetaConstants extends Object

Constants for common metadata field names typically associated with a document and often set on Doc.getMetadata().

While those may originally be set by the importer, it is possible for implementors to overwrite, rename, or even delete them from a document metadata.

  • Field Details

    • REFERENCE

      public static final String REFERENCE
      Document unique reference (also called "id", "primary key", etc.).
      See Also:
    • CONTENT_TYPE

      public static final String CONTENT_TYPE
      Document content type (also called "media type", or "mime type").
      See Also:
    • CONTENT_ENCODING

      public static final String CONTENT_ENCODING
      Document character encoding.
      See Also:
    • CONTENT_FAMILY

      public static final String CONTENT_FAMILY
      Document content family (general categorization of content types).
      See Also:
    • LANGUAGE

      public static final String LANGUAGE
      Document language.
      See Also:
    • TRANSLATED_FROM

      public static final String TRANSLATED_FROM
      Original language when translated.
      See Also:
    • GENERATED_TITLE

      public static final String GENERATED_TITLE
      Generated title.
      See Also:
    • IMPORTED_DATE

      public static final String IMPORTED_DATE
      Date processed by the Importer.
      See Also:
    • EMBEDDED_PARENT_REFERENCES

      public static final String EMBEDDED_PARENT_REFERENCES
      All references to parents of an embedded document (first is top-one).
      See Also:
    • EMBEDDED_REFERENCE

      public static final String EMBEDDED_REFERENCE
      Relative reference to this document within its parent.
      See Also:
    • EMBEDDED_TYPE

      public static final String EMBEDDED_TYPE
      Type of embedded file (from a zip, a word doc, etc.).
      See Also:
    • EMBEDDED_INDEX

      public static final String EMBEDDED_INDEX
      Zero-based index of this embedded document in relation to siblings.
      See Also: