GoogleCloudContentwarehouseV1SearchDocumentsResponseMatchingDocument

GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1SearchDocumentsResponseMatchingDocument


Table of Contents ▼

Jump to a specific part of the page:

Description

Document entry with metadata inside SearchDocumentsResponse

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. document (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1Document, default: nil)
    - Document that matches the specified SearchDocumentsRequest. This document only contains indexed metadata information.
  2. matchedTokenPageIndices (type: list(String.t), default: nil)
    - Return the 1-based page indices where those pages have one or more matched tokens.
  3. qaResult (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1QAResult, default: nil)
    - Experimental. Additional result info if the question-answering feature is enabled.
  4. searchTextSnippet (type: String.t, default: nil)
    - Contains snippets of text from the document full raw text that most closely match a search query's keywords, if available. All HTML tags in the original fields are stripped when returned in this field, and matching query keywords are enclosed in HTML bold tags. If the question-answering feature is enabled, this field will instead contain a snippet that answers the user's natural-language query. No HTML bold tags will be present, and highlights in the answer snippet can be found in QAResult.highlights.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1SearchDocumentsResponseMatchingDocument{
document: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1Document.t() | nil,
matchedTokenPageIndices: [String.t()] | nil,
qaResult: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1QAResult.t() | nil,
searchTextSnippet: String.t() | nil
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1SearchDocumentsResponseMatchingDocument