### YamlMime:JavaType uid: "com.azure.search.documents.indexes.models.ScoringProfile" fullName: "com.azure.search.documents.indexes.models.ScoringProfile" name: "ScoringProfile" nameWithType: "ScoringProfile" summary: "Defines parameters for a search index that influence scoring in search queries." inheritances: - "" inheritedClassMethods: - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "public final class **ScoringProfile**
implements <>" constructors: - uid: "com.azure.search.documents.indexes.models.ScoringProfile.ScoringProfile(java.lang.String)" fullName: "com.azure.search.documents.indexes.models.ScoringProfile.ScoringProfile(String name)" name: "ScoringProfile(String name)" nameWithType: "ScoringProfile.ScoringProfile(String name)" summary: "Creates an instance of ScoringProfile class." parameters: - description: "the name value to set." name: "name" type: "String" syntax: "public ScoringProfile(String name)" desc: "Creates an instance of ScoringProfile class." methods: - uid: "com.azure.search.documents.indexes.models.ScoringProfile.fromJson(com.azure.json.JsonReader)" fullName: "com.azure.search.documents.indexes.models.ScoringProfile.fromJson(JsonReader jsonReader)" name: "fromJson(JsonReader jsonReader)" nameWithType: "ScoringProfile.fromJson(JsonReader jsonReader)" summary: "Reads an instance of ScoringProfile from the JsonReader." modifiers: - "static" parameters: - description: "The JsonReader being read." name: "jsonReader" type: "" syntax: "public static ScoringProfile fromJson(JsonReader jsonReader)" exceptions: - description: "If the deserialized JSON object was missing any required properties." type: "IOException" desc: "Reads an instance of ScoringProfile from the JsonReader." returns: description: "An instance of ScoringProfile if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null." type: "" - uid: "com.azure.search.documents.indexes.models.ScoringProfile.getFunctionAggregation()" fullName: "com.azure.search.documents.indexes.models.ScoringProfile.getFunctionAggregation()" name: "getFunctionAggregation()" nameWithType: "ScoringProfile.getFunctionAggregation()" summary: "Get the functionAggregation property: A value indicating how the results of individual scoring functions should be combined." syntax: "public ScoringFunctionAggregation getFunctionAggregation()" desc: "Get the functionAggregation property: A value indicating how the results of individual scoring functions should be combined. Defaults to \"Sum\". Ignored if there are no scoring functions." returns: description: "the functionAggregation value." type: "" - uid: "com.azure.search.documents.indexes.models.ScoringProfile.getFunctions()" fullName: "com.azure.search.documents.indexes.models.ScoringProfile.getFunctions()" name: "getFunctions()" nameWithType: "ScoringProfile.getFunctions()" summary: "Get the functions property: The collection of functions that influence the scoring of documents." syntax: "public List getFunctions()" desc: "Get the functions property: The collection of functions that influence the scoring of documents." returns: description: "the functions value." type: "List<>" - uid: "com.azure.search.documents.indexes.models.ScoringProfile.getName()" fullName: "com.azure.search.documents.indexes.models.ScoringProfile.getName()" name: "getName()" nameWithType: "ScoringProfile.getName()" summary: "Get the name property: The name of the scoring profile." syntax: "public String getName()" desc: "Get the name property: The name of the scoring profile." returns: description: "the name value." type: "String" - uid: "com.azure.search.documents.indexes.models.ScoringProfile.getTextWeights()" fullName: "com.azure.search.documents.indexes.models.ScoringProfile.getTextWeights()" name: "getTextWeights()" nameWithType: "ScoringProfile.getTextWeights()" summary: "Get the textWeights property: Parameters that boost scoring based on text matches in certain index fields." syntax: "public TextWeights getTextWeights()" desc: "Get the textWeights property: Parameters that boost scoring based on text matches in certain index fields." returns: description: "the textWeights value." type: "" - uid: "com.azure.search.documents.indexes.models.ScoringProfile.setFunctionAggregation(com.azure.search.documents.indexes.models.ScoringFunctionAggregation)" fullName: "com.azure.search.documents.indexes.models.ScoringProfile.setFunctionAggregation(ScoringFunctionAggregation functionAggregation)" name: "setFunctionAggregation(ScoringFunctionAggregation functionAggregation)" nameWithType: "ScoringProfile.setFunctionAggregation(ScoringFunctionAggregation functionAggregation)" summary: "Set the functionAggregation property: A value indicating how the results of individual scoring functions should be combined." parameters: - description: "the functionAggregation value to set." name: "functionAggregation" type: "" syntax: "public ScoringProfile setFunctionAggregation(ScoringFunctionAggregation functionAggregation)" desc: "Set the functionAggregation property: A value indicating how the results of individual scoring functions should be combined. Defaults to \"Sum\". Ignored if there are no scoring functions." returns: description: "the ScoringProfile object itself." type: "" - uid: "com.azure.search.documents.indexes.models.ScoringProfile.setFunctions(com.azure.search.documents.indexes.models.ScoringFunction...)" fullName: "com.azure.search.documents.indexes.models.ScoringProfile.setFunctions(ScoringFunction[] functions)" name: "setFunctions(ScoringFunction[] functions)" nameWithType: "ScoringProfile.setFunctions(ScoringFunction[] functions)" summary: "Set the functions property: The collection of functions that influence the scoring of documents." parameters: - description: "the functions value to set." name: "functions" type: "[]" syntax: "public ScoringProfile setFunctions(ScoringFunction[] functions)" desc: "Set the functions property: The collection of functions that influence the scoring of documents." returns: description: "the ScoringProfile object itself." type: "" - uid: "com.azure.search.documents.indexes.models.ScoringProfile.setFunctions(java.util.List)" fullName: "com.azure.search.documents.indexes.models.ScoringProfile.setFunctions(List functions)" name: "setFunctions(List functions)" nameWithType: "ScoringProfile.setFunctions(List functions)" summary: "Set the functions property: The collection of functions that influence the scoring of documents." parameters: - description: "the functions value to set." name: "functions" type: "List<>" syntax: "public ScoringProfile setFunctions(List functions)" desc: "Set the functions property: The collection of functions that influence the scoring of documents." returns: description: "the ScoringProfile object itself." type: "" - uid: "com.azure.search.documents.indexes.models.ScoringProfile.setTextWeights(com.azure.search.documents.indexes.models.TextWeights)" fullName: "com.azure.search.documents.indexes.models.ScoringProfile.setTextWeights(TextWeights textWeights)" name: "setTextWeights(TextWeights textWeights)" nameWithType: "ScoringProfile.setTextWeights(TextWeights textWeights)" summary: "Set the textWeights property: Parameters that boost scoring based on text matches in certain index fields." parameters: - description: "the textWeights value to set." name: "textWeights" type: "" syntax: "public ScoringProfile setTextWeights(TextWeights textWeights)" desc: "Set the textWeights property: Parameters that boost scoring based on text matches in certain index fields." returns: description: "the ScoringProfile object itself." type: "" - uid: "com.azure.search.documents.indexes.models.ScoringProfile.toJson(com.azure.json.JsonWriter)" fullName: "com.azure.search.documents.indexes.models.ScoringProfile.toJson(JsonWriter jsonWriter)" name: "toJson(JsonWriter jsonWriter)" nameWithType: "ScoringProfile.toJson(JsonWriter jsonWriter)" parameters: - name: "jsonWriter" type: "" syntax: "public JsonWriter toJson(JsonWriter jsonWriter)" exceptions: - type: "IOException" returns: type: "" type: "class" desc: "Defines parameters for a search index that influence scoring in search queries." implements: - "<>" metadata: {} package: "com.azure.search.documents.indexes.models" artifact: com.azure:azure-search-documents:11.7.3