Posts

Showing posts from January, 2022

Indexing in Marklogic

Image
MarkLogic makes use of multiple types of indexes to resolve queries. Index Topics: The Universal Index Other Types of Indexes Index Size Fields Reindexing Relevance Indexing Document Metadata Fragmentation of XML Documents The Universal Index The universal index that indexes the XML or JSON structure(data) by default to make without any changes in Database or server configuration.  Universal Index is: Word Indexing Phrase Indexing Relationship Indexing Value Indexing Word and Phrase Indexing Word Indexing: Marklogic indexes every word or character during the ingestion of any document into Marklogic.  Inverted index feature enables MarkLogic Server to resolve word queries, which is a list of all of the words in all the documents in the database and, for each word, a list of which documents have that word. Inverted index: MarkLogic server index the XML or JSON data in form of a document-word relationship. An inverted index is called "inverted" because it inverts the relationshi