azure-docs-sdk-java/legacy/docs-ref-autogen/com.azure.search.models.Tru...

65 строки
4.5 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.search.models.TruncateTokenFilter"
fullName: "com.azure.search.models.TruncateTokenFilter"
name: "TruncateTokenFilter"
nameWithType: "TruncateTokenFilter"
summary: "Truncates the terms to a specific length."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.search.models.TokenFilter?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.azure.search.models.TokenFilter?alt=com.azure.search.models.TokenFilter&text=TokenFilter\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.azure.search.models.TokenFilter.getName()?alt=com.azure.search.models.TokenFilter.getName&text=getName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.search.models.TokenFilter.setName(java.lang.String)?alt=com.azure.search.models.TokenFilter.setName&text=setName\" data-throw-if-not-resolved=\"False\" />"
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **TruncateTokenFilter**</br> extends <xref href=\"com.azure.search.models.TokenFilter?alt=com.azure.search.models.TokenFilter&text=TokenFilter\" data-throw-if-not-resolved=\"False\" />"
constructors:
- uid: "com.azure.search.models.TruncateTokenFilter.TruncateTokenFilter()"
fullName: "com.azure.search.models.TruncateTokenFilter.TruncateTokenFilter()"
name: "TruncateTokenFilter()"
nameWithType: "TruncateTokenFilter.TruncateTokenFilter()"
syntax: "public TruncateTokenFilter()"
methods:
- uid: "com.azure.search.models.TruncateTokenFilter.getLength()"
fullName: "com.azure.search.models.TruncateTokenFilter.getLength()"
name: "getLength()"
nameWithType: "TruncateTokenFilter.getLength()"
summary: "Get the length property: The length at which terms will be truncated."
syntax: "public Integer getLength()"
desc: "Get the length property: The length at which terms will be truncated. Default and maximum is 300."
returns:
description: "the length value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.search.models.TruncateTokenFilter.setLength(java.lang.Integer)"
fullName: "com.azure.search.models.TruncateTokenFilter.setLength(Integer length)"
name: "setLength(Integer length)"
nameWithType: "TruncateTokenFilter.setLength(Integer length)"
summary: "Set the length property: The length at which terms will be truncated."
parameters:
- description: "the length value to set."
name: "length"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public TruncateTokenFilter setLength(Integer length)"
desc: "Set the length property: The length at which terms will be truncated. Default and maximum is 300."
returns:
description: "the TruncateTokenFilter object itself."
type: "<xref href=\"com.azure.search.models.TruncateTokenFilter?alt=com.azure.search.models.TruncateTokenFilter&text=TruncateTokenFilter\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Truncates the terms to a specific length. This token filter is implemented using Apache Lucene."
metadata: {}
package: "com.azure.search.models"
artifact: com.azure:azure-search:11.0.0-beta.1