Class FieldNames


  • public class FieldNames
    extends java.lang.Object
    Contains document field names that are frequently used in the default Attivio transformers.

    Components can use different and/or non-defined field names however these are the defaults for all Attivio supplied transformers.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ANCESTOR_IDS
      The field that will store the ID's of documents that are ancestors of a given document.
      static java.lang.String ANCHOR_TEXT
      This field holds all of the anchor text for the links that point to this page/document.
      static java.lang.String CATEGORY
      The field that holds the category of the document.
      static java.lang.String CHECKSUM
      This field holds the SHA-256 checksum of this page/document.
      static java.lang.String CHILD_COUNT
      This field holds the count of the number of children a particular document has.
      static java.lang.String CHILD_INDEX
      This field holds the index of the child.
      static java.lang.String CHILD_PATH
      Name of the field that will store the name or path of the child document by which it is referred to in the parent document.
      static java.lang.String CONCEPTS
      The field that contains the concepts of the document.
      static java.lang.String CONNECTOR_TYPE
      This field holds the name of the connector type.
      static java.lang.String CONTENT
      The field containing all searchable content for the document.
      static java.lang.String CONTENT_POINTER
      The field that holds the document content specified as a byte array.
      static java.lang.String CONTENT_POINTER_ID
      The field that holds a content pointer id.
      static java.lang.String CONVERSION_ERROR
      This field holds document conversion error strings.
      static java.lang.String CONVERSION_ERROR_CODE
      This field holds document conversion error codes.
      static java.lang.String CONVERTED_FILE_PATH
      This field holds document conversion error codes.
      static java.lang.String DATE
      The field that holds the date.
      static java.lang.String DEFAULT_SEARCH_FIELD
      The field that holds the "default search field".
      static java.lang.String DOC_STATUS
      This field holds internal document status values.
      static java.lang.String DOCTYPE
      The field that contains the document type.
      static java.lang.String DUPLICATES
      This field holds a list of duplicate uris or doc ids of this page/document.
      static java.lang.String ENCODING
      The field that contains the default document string encoding.
      static java.lang.String FIELD_NAMES
      This field contains the name of all fields indexed for a document.
      static java.lang.String FILENAME
      The field that contains the filename of the document.
      static java.lang.String FT_RETRY_COUNT
      Field indicating the maximum number of times an IngestDocument will be retried for fault tolerance
      static java.lang.String HOSTNAME
      The field that contains the hostname of a document.
      static java.lang.String ID
      The internal field that holds the document id.
      static java.lang.String JOIN_CHILDREN_COUNT
      Deprecated.
      This field is no longer used
      static java.lang.String JOIN_CLAUSE_NAME
      This is the field that will return the name of the join clause (if annotated) for child documents.
      static java.lang.String JSON
      Field for unparsed JSON text
      static java.lang.String LANGUAGE
      The field that holds the document's primary language; string.
      static java.lang.String LANGUAGES
      The field that holds the languages that are contained in the document in addition to primary language; string.
      static java.lang.String LATITUDE
      Name of the field that will store latitude information for geo search.
      static java.lang.String LINEAGE_IDS
      Name of the field that will store the ID's of containers (typically, folders) that are ancestors of a given document in a particular data source.
      static java.lang.String LINK_COUNT
      This field holds the number of inbound links that point to this page/document.
      static java.lang.String LINK_FACTOR
      This field holds the a scaled factor of the number of inbound links that point to this page/document.
      static java.lang.String LONGITUDE
      Name of the field that will store longitude information for geo search.
      static java.lang.String MIME_TYPE
      The field that contains the MIME type.
      static java.lang.String ORGANIZATIONS
      The field that contains organizations mentioned in the document.
      static java.lang.String PARENT_DOCTYPE
      The field that contains the parent document type.
      static java.lang.String PARENT_ID
      The field that will store the document id of the parent document.
      static java.lang.String PARENT_MIME_TYPE
      The field that holds the parent MIME type, if any.
      static java.lang.String PEOPLE
      The field that contains people mentioned in the document.
      static java.lang.String POSITION
      Name of the field that will store encoded position for geo search.
      static java.lang.String PROCESSING_FEEDBACK_COMPONENT
      Field for component of processing feedback
      static java.lang.String PROCESSING_FEEDBACK_ERROR_CODE
      Field for error code of processing feedback
      static java.lang.String PROCESSING_FEEDBACK_LEVEL
      Field for level of processing feedback
      static java.lang.String PROCESSING_FEEDBACK_MESSAGE
      Field for message of processing feedback
      static java.lang.String PROGENATOR_ID
      The field that will store the document id of the parent document.
      static java.lang.String RANDOM_SORT
      The virtual field used for sorting documents randomly
      static java.lang.String SCORE
      The virtual field used for requesting/sorting by the score for a document.
      static java.lang.String SCORE_EXPLAIN
      The field that will contain the explain map for scoring in a SearchDocument.
      static java.lang.String SENTIMENT
      The field that contains the sentiment of the document.
      static java.lang.String SIZE
      The field that will store a document's original size.
      static java.lang.String SOURCE_ENGINE
      This field contains the engine name that the document came from.
      static java.lang.String SOURCEPATH
      The field that contains the filepath of the document.
      static java.lang.String SOURCEURI
      The field that holds the source URI of the document; string.
      static java.lang.String STATIC_FIELD_NAME
      Field containing the list of static field names
      static java.lang.String TABLE
      This field holds the commonly used table designation for a record for join based applications.
      static java.lang.String TEASER
      This field holds a static teaser for a document's search result.
      static java.lang.String TEXT
      The field where the primary raw text content for the document is placed.
      static java.lang.String TITLE
      The field that holds the title of the document; string.
      static java.lang.String URI
      The field that contains the URI of a document.
      static java.lang.String XML_DOM
      The field for XML represented as DOM4J Document.
      static java.lang.String ZONE
      The internal field used for populating/querying the zone for a document.
    • Constructor Summary

      Constructors 
      Constructor Description
      FieldNames()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ID

        public static final java.lang.String ID
        The internal field that holds the document id. Value: ".id"
        See Also:
        Constant Field Values
      • ZONE

        public static final java.lang.String ZONE
        The internal field used for populating/querying the zone for a document.
        See Also:
        Constant Field Values
      • SCORE

        public static final java.lang.String SCORE
        The virtual field used for requesting/sorting by the score for a document.
        See Also:
        Constant Field Values
      • RANDOM_SORT

        public static final java.lang.String RANDOM_SORT
        The virtual field used for sorting documents randomly
        See Also:
        Constant Field Values
      • FT_RETRY_COUNT

        public static final java.lang.String FT_RETRY_COUNT
        Field indicating the maximum number of times an IngestDocument will be retried for fault tolerance
        See Also:
        Constant Field Values
      • DEFAULT_SEARCH_FIELD

        public static final java.lang.String DEFAULT_SEARCH_FIELD
        The field that holds the "default search field". Value: FieldNames.CONTENT
        See Also:
        Constant Field Values
      • TITLE

        public static final java.lang.String TITLE
        The field that holds the title of the document; string. Value: "title"
        See Also:
        Constant Field Values
      • LANGUAGE

        public static final java.lang.String LANGUAGE
        The field that holds the document's primary language; string. Value: "language"
        See Also:
        Constant Field Values
      • LANGUAGES

        public static final java.lang.String LANGUAGES
        The field that holds the languages that are contained in the document in addition to primary language; string. Value: "languages"
        See Also:
        Constant Field Values
      • DATE

        public static final java.lang.String DATE
        The field that holds the date. Value: "date"
        See Also:
        Constant Field Values
      • SOURCEURI

        public static final java.lang.String SOURCEURI
        The field that holds the source URI of the document; string. Value: "sourceuri"
        See Also:
        Constant Field Values
      • TEXT

        public static final java.lang.String TEXT
        The field where the primary raw text content for the document is placed. Value: "text"
        See Also:
        Constant Field Values
      • CONTENT

        public static final java.lang.String CONTENT
        The field containing all searchable content for the document. Value: "content"
        See Also:
        Constant Field Values
      • XML_DOM

        public static final java.lang.String XML_DOM
        The field for XML represented as DOM4J Document. Value: "xmldom"
        See Also:
        Constant Field Values
      • SOURCEPATH

        public static final java.lang.String SOURCEPATH
        The field that contains the filepath of the document. Default: "sourcepath"
        See Also:
        Constant Field Values
      • FILENAME

        public static final java.lang.String FILENAME
        The field that contains the filename of the document. Value: "filename"
        See Also:
        Constant Field Values
      • DOCTYPE

        public static final java.lang.String DOCTYPE
        The field that contains the document type. Value: "doctype"
        See Also:
        Constant Field Values
      • PARENT_DOCTYPE

        public static final java.lang.String PARENT_DOCTYPE
        The field that contains the parent document type. Value: "parentdoctype"
        See Also:
        Constant Field Values
      • CATEGORY

        public static final java.lang.String CATEGORY
        The field that holds the category of the document. Value: "cat"
        See Also:
        Constant Field Values
      • SENTIMENT

        public static final java.lang.String SENTIMENT
        The field that contains the sentiment of the document. Value: "sentiment"
        See Also:
        Constant Field Values
      • CONCEPTS

        public static final java.lang.String CONCEPTS
        The field that contains the concepts of the document. Value: "concepts"
        See Also:
        Constant Field Values
      • PEOPLE

        public static final java.lang.String PEOPLE
        The field that contains people mentioned in the document. Value: "people"
        See Also:
        Constant Field Values
      • ORGANIZATIONS

        public static final java.lang.String ORGANIZATIONS
        The field that contains organizations mentioned in the document. Value: "orgs"
        See Also:
        Constant Field Values
      • MIME_TYPE

        public static final java.lang.String MIME_TYPE
        The field that contains the MIME type. Value = "mimetype"
        See Also:
        Constant Field Values
      • PARENT_MIME_TYPE

        public static final java.lang.String PARENT_MIME_TYPE
        The field that holds the parent MIME type, if any. Value: "parentmimetype"
        See Also:
        Constant Field Values
      • CONTENT_POINTER

        public static final java.lang.String CONTENT_POINTER
        The field that holds the document content specified as a byte array. Value: "bytes"
        See Also:
        Constant Field Values
      • CONTENT_POINTER_ID

        public static final java.lang.String CONTENT_POINTER_ID
        The field that holds a content pointer id. Typically used by a transformer to convert into a content pointer
        See Also:
        Constant Field Values
      • URI

        public static final java.lang.String URI
        The field that contains the URI of a document. Value: "uri"
        See Also:
        Constant Field Values
      • HOSTNAME

        public static final java.lang.String HOSTNAME
        The field that contains the hostname of a document. Value: "hostname"
        See Also:
        Constant Field Values
      • ENCODING

        public static final java.lang.String ENCODING
        The field that contains the default document string encoding. Value: "encoding"
        See Also:
        Constant Field Values
      • SCORE_EXPLAIN

        public static final java.lang.String SCORE_EXPLAIN
        The field that will contain the explain map for scoring in a SearchDocument. Value: "score.explain"
        See Also:
        Constant Field Values
      • SIZE

        public static final java.lang.String SIZE
        The field that will store a document's original size. Value: "size"
        See Also:
        Constant Field Values
      • PARENT_ID

        public static final java.lang.String PARENT_ID
        The field that will store the document id of the parent document. Value: "parentid"
        See Also:
        Constant Field Values
      • PROGENATOR_ID

        public static final java.lang.String PROGENATOR_ID
        The field that will store the document id of the parent document. Value: "parentid"
        See Also:
        Constant Field Values
      • ANCESTOR_IDS

        public static final java.lang.String ANCESTOR_IDS
        The field that will store the ID's of documents that are ancestors of a given document. Value: "ancestorids"
        See Also:
        Constant Field Values
      • LINEAGE_IDS

        public static final java.lang.String LINEAGE_IDS
        Name of the field that will store the ID's of containers (typically, folders) that are ancestors of a given document in a particular data source. Also includes the ID of the document itself and is primarily used for document deletions. Value: "lineageids"
        See Also:
        Constant Field Values
      • POSITION

        public static final java.lang.String POSITION
        Name of the field that will store encoded position for geo search. Value: "position"
        See Also:
        Constant Field Values
      • LATITUDE

        public static final java.lang.String LATITUDE
        Name of the field that will store latitude information for geo search. Value: "latitude"
        See Also:
        Constant Field Values
      • LONGITUDE

        public static final java.lang.String LONGITUDE
        Name of the field that will store longitude information for geo search. Value: "longitude"
        See Also:
        Constant Field Values
      • CHILD_PATH

        public static final java.lang.String CHILD_PATH
        Name of the field that will store the name or path of the child document by which it is referred to in the parent document. For example, "dir1/dir2/doc1.txt" would be the value for a ZIP archive entry "dir1/dir2/doc1.txt". Value: "childpath"
        See Also:
        Constant Field Values
      • FIELD_NAMES

        public static final java.lang.String FIELD_NAMES
        This field contains the name of all fields indexed for a document. Value: ".fields"
        See Also:
        Constant Field Values
      • JOIN_CHILDREN_COUNT

        @Deprecated
        public static final java.lang.String JOIN_CHILDREN_COUNT
        Deprecated.
        This field is no longer used
        See Also:
        Constant Field Values
      • JOIN_CLAUSE_NAME

        public static final java.lang.String JOIN_CLAUSE_NAME
        This is the field that will return the name of the join clause (if annotated) for child documents. Value: ".joinClauseName"
        See Also:
        Constant Field Values
      • SOURCE_ENGINE

        public static final java.lang.String SOURCE_ENGINE
        This field contains the engine name that the document came from. Primarily used in federation scenarios at response time to indicate where a document came from for front end presentation purposes. Value: "engine"
        See Also:
        Constant Field Values
      • CONNECTOR_TYPE

        public static final java.lang.String CONNECTOR_TYPE
        This field holds the name of the connector type. Useful to know what connector was used to bring a doc into index. Value: "connectortype"
        See Also:
        Constant Field Values
      • DOC_STATUS

        public static final java.lang.String DOC_STATUS
        This field holds internal document status values. Value: "docstatus"
        See Also:
        Constant Field Values
      • CONVERSION_ERROR

        public static final java.lang.String CONVERSION_ERROR
        This field holds document conversion error strings. Value: "conversionError"
        See Also:
        Constant Field Values
      • CONVERSION_ERROR_CODE

        public static final java.lang.String CONVERSION_ERROR_CODE
        This field holds document conversion error codes. Value: "conversionErrorCode"
        See Also:
        Constant Field Values
      • CONVERTED_FILE_PATH

        public static final java.lang.String CONVERTED_FILE_PATH
        This field holds document conversion error codes. Value: "convertedfilepath"
        See Also:
        Constant Field Values
      • CHILD_COUNT

        public static final java.lang.String CHILD_COUNT
        This field holds the count of the number of children a particular document has. Value: "childcount"
        See Also:
        Constant Field Values
      • CHILD_INDEX

        public static final java.lang.String CHILD_INDEX
        This field holds the index of the child. Value: "childindex"
        See Also:
        Constant Field Values
      • TABLE

        public static final java.lang.String TABLE
        This field holds the commonly used table designation for a record for join based applications. Value: "table"
        See Also:
        Constant Field Values
      • TEASER

        public static final java.lang.String TEASER
        This field holds a static teaser for a document's search result. Value: "teaser"
        See Also:
        Constant Field Values
      • ANCHOR_TEXT

        public static final java.lang.String ANCHOR_TEXT
        This field holds all of the anchor text for the links that point to this page/document. Value: "anchortext"
        See Also:
        Constant Field Values
      • LINK_COUNT

        public static final java.lang.String LINK_COUNT
        This field holds the number of inbound links that point to this page/document. Value: "linkcount"
        See Also:
        Constant Field Values
      • LINK_FACTOR

        public static final java.lang.String LINK_FACTOR
        This field holds the a scaled factor of the number of inbound links that point to this page/document. This field is primarily used for relevancy weighting purposes. Value: "linkfactor"
        See Also:
        Constant Field Values
      • DUPLICATES

        public static final java.lang.String DUPLICATES
        This field holds a list of duplicate uris or doc ids of this page/document. Value: "duplicates"
        See Also:
        Constant Field Values
      • CHECKSUM

        public static final java.lang.String CHECKSUM
        This field holds the SHA-256 checksum of this page/document. Value: "checksum"
        See Also:
        Constant Field Values
      • JSON

        public static final java.lang.String JSON
        Field for unparsed JSON text
        See Also:
        Constant Field Values
      • PROCESSING_FEEDBACK_LEVEL

        public static final java.lang.String PROCESSING_FEEDBACK_LEVEL
        Field for level of processing feedback
        See Also:
        Constant Field Values
      • PROCESSING_FEEDBACK_MESSAGE

        public static final java.lang.String PROCESSING_FEEDBACK_MESSAGE
        Field for message of processing feedback
        See Also:
        Constant Field Values
      • PROCESSING_FEEDBACK_COMPONENT

        public static final java.lang.String PROCESSING_FEEDBACK_COMPONENT
        Field for component of processing feedback
        See Also:
        Constant Field Values
      • PROCESSING_FEEDBACK_ERROR_CODE

        public static final java.lang.String PROCESSING_FEEDBACK_ERROR_CODE
        Field for error code of processing feedback
        See Also:
        Constant Field Values
      • STATIC_FIELD_NAME

        public static final java.lang.String STATIC_FIELD_NAME
        Field containing the list of static field names
        See Also:
        Constant Field Values
    • Constructor Detail

      • FieldNames

        public FieldNames()