/// <summary> /// Check if a parsed document exists by the source document GUID. /// </summary> /// <param name="indexName">Name of the index.</param> /// <param name="sourceGuid">Source document GUID.</param> /// <returns>True if exists.</returns> public bool ParsedDocumentExists(string indexName, string sourceGuid) { if (String.IsNullOrEmpty(indexName)) { throw new ArgumentNullException(nameof(indexName)); } if (String.IsNullOrEmpty(sourceGuid)) { throw new ArgumentNullException(nameof(sourceGuid)); } KomodoIndex idx = GetIndexClient(indexName); return(idx.ExistsParsed(sourceGuid)); }