public final class TextWeights extends Object
Constructor and Description |
---|
TextWeights() |
Modifier and Type | Method and Description |
---|---|
Map<String,Double> |
getWeights()
Get the weights property: The dictionary of per-field weights to boost
document scoring.
|
TextWeights |
setWeights(Map<String,Double> weights)
Set the weights property: The dictionary of per-field weights to boost
document scoring.
|
public Map<String,Double> getWeights()
public TextWeights setWeights(Map<String,Double> weights)
weights
- the weights value to set.Copyright © 2020 Microsoft Corporation. All rights reserved.