@java.lang.Override
  public double getRelevance() {
    return relevance_;
  }
<pre>
Available to IMAGE corpus types.
Relevance of this `SearchResultItem` to user search query (text query or
image query).
By default this represents cosine similarity between the query and the
retrieved media content. The value is in the range of [-1, 1].
Note that search ranking is not only decided by this relevance score,
but also other factors such as the match of annotations.
</pre>

<code>double relevance = 6;</code>

@return The relevance.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/SearchResultItem.java