public final class CaptionResult extends Object
Constructor and Description |
---|
CaptionResult() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties()
Get the additionalProperties property: Captions are the most representative passages from the document relatively
to the search query.
|
String |
getHighlights()
Get the highlights property: Same text passage as in the Text property with highlighted phrases most relevant to
the query.
|
String |
getText()
Get the text property: A representative text passage extracted from the document most relevant to the search
query.
|
CaptionResult |
setAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Captions are the most representative passages from the document relatively
to the search query.
|
public String getText()
public String getHighlights()
public Map<String,Object> getAdditionalProperties()
public CaptionResult setAdditionalProperties(Map<String,Object> additionalProperties)
additionalProperties
- the additionalProperties value to set.Copyright © 2021 Microsoft Corporation. All rights reserved.