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

113 строки
9.3 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.search.models.CustomAnalyzer"
fullName: "com.azure.search.models.CustomAnalyzer"
name: "CustomAnalyzer"
nameWithType: "CustomAnalyzer"
summary: "Allows you to take control over the process of converting text into indexable/searchable tokens."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.search.models.Analyzer?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.azure.search.models.Analyzer?alt=com.azure.search.models.Analyzer&text=Analyzer\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.azure.search.models.Analyzer.getName()?alt=com.azure.search.models.Analyzer.getName&text=getName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.search.models.Analyzer.setName(java.lang.String)?alt=com.azure.search.models.Analyzer.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 **CustomAnalyzer**</br> extends <xref href=\"com.azure.search.models.Analyzer?alt=com.azure.search.models.Analyzer&text=Analyzer\" data-throw-if-not-resolved=\"False\" />"
constructors:
- uid: "com.azure.search.models.CustomAnalyzer.CustomAnalyzer()"
fullName: "com.azure.search.models.CustomAnalyzer.CustomAnalyzer()"
name: "CustomAnalyzer()"
nameWithType: "CustomAnalyzer.CustomAnalyzer()"
syntax: "public CustomAnalyzer()"
methods:
- uid: "com.azure.search.models.CustomAnalyzer.getCharFilters()"
fullName: "com.azure.search.models.CustomAnalyzer.getCharFilters()"
name: "getCharFilters()"
nameWithType: "CustomAnalyzer.getCharFilters()"
summary: "Get the char<wbr>Filters property: A list of character filters used to prepare input text before it is processed by the tokenizer."
syntax: "public List<String> getCharFilters()"
desc: "Get the charFilters property: A list of character filters used to prepare input text before it is processed by the tokenizer. For instance, they can replace certain characters or symbols. The filters are run in the order in which they are listed."
returns:
description: "the charFilters value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.search.models.CustomAnalyzer.getTokenFilters()"
fullName: "com.azure.search.models.CustomAnalyzer.getTokenFilters()"
name: "getTokenFilters()"
nameWithType: "CustomAnalyzer.getTokenFilters()"
summary: "Get the token<wbr>Filters property: A list of token filters used to filter out or modify the tokens generated by a tokenizer."
syntax: "public List<String> getTokenFilters()"
desc: "Get the tokenFilters property: A list of token filters used to filter out or modify the tokens generated by a tokenizer. For example, you can specify a lowercase filter that converts all characters to lowercase. The filters are run in the order in which they are listed."
returns:
description: "the tokenFilters value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.search.models.CustomAnalyzer.getTokenizer()"
fullName: "com.azure.search.models.CustomAnalyzer.getTokenizer()"
name: "getTokenizer()"
nameWithType: "CustomAnalyzer.getTokenizer()"
summary: "Get the tokenizer property: The name of the tokenizer to use to divide continuous text into a sequence of tokens, such as breaking a sentence into words."
syntax: "public String getTokenizer()"
desc: "Get the tokenizer property: The name of the tokenizer to use to divide continuous text into a sequence of tokens, such as breaking a sentence into words."
returns:
description: "the tokenizer value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.search.models.CustomAnalyzer.setCharFilters(java.util.List<java.lang.String>)"
fullName: "com.azure.search.models.CustomAnalyzer.setCharFilters(List<String> charFilters)"
name: "setCharFilters(List<String> charFilters)"
nameWithType: "CustomAnalyzer.setCharFilters(List<String> charFilters)"
summary: "Set the char<wbr>Filters property: A list of character filters used to prepare input text before it is processed by the tokenizer."
parameters:
- description: "the charFilters value to set."
name: "charFilters"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
syntax: "public CustomAnalyzer setCharFilters(List<String> charFilters)"
desc: "Set the charFilters property: A list of character filters used to prepare input text before it is processed by the tokenizer. For instance, they can replace certain characters or symbols. The filters are run in the order in which they are listed."
returns:
description: "the CustomAnalyzer object itself."
type: "<xref href=\"com.azure.search.models.CustomAnalyzer?alt=com.azure.search.models.CustomAnalyzer&text=CustomAnalyzer\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.CustomAnalyzer.setTokenFilters(java.util.List<java.lang.String>)"
fullName: "com.azure.search.models.CustomAnalyzer.setTokenFilters(List<String> tokenFilters)"
name: "setTokenFilters(List<String> tokenFilters)"
nameWithType: "CustomAnalyzer.setTokenFilters(List<String> tokenFilters)"
summary: "Set the token<wbr>Filters property: A list of token filters used to filter out or modify the tokens generated by a tokenizer."
parameters:
- description: "the tokenFilters value to set."
name: "tokenFilters"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
syntax: "public CustomAnalyzer setTokenFilters(List<String> tokenFilters)"
desc: "Set the tokenFilters property: A list of token filters used to filter out or modify the tokens generated by a tokenizer. For example, you can specify a lowercase filter that converts all characters to lowercase. The filters are run in the order in which they are listed."
returns:
description: "the CustomAnalyzer object itself."
type: "<xref href=\"com.azure.search.models.CustomAnalyzer?alt=com.azure.search.models.CustomAnalyzer&text=CustomAnalyzer\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.CustomAnalyzer.setTokenizer(java.lang.String)"
fullName: "com.azure.search.models.CustomAnalyzer.setTokenizer(String tokenizer)"
name: "setTokenizer(String tokenizer)"
nameWithType: "CustomAnalyzer.setTokenizer(String tokenizer)"
summary: "Set the tokenizer property: The name of the tokenizer to use to divide continuous text into a sequence of tokens, such as breaking a sentence into words."
parameters:
- description: "the tokenizer value to set."
name: "tokenizer"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public CustomAnalyzer setTokenizer(String tokenizer)"
desc: "Set the tokenizer property: The name of the tokenizer to use to divide continuous text into a sequence of tokens, such as breaking a sentence into words."
returns:
description: "the CustomAnalyzer object itself."
type: "<xref href=\"com.azure.search.models.CustomAnalyzer?alt=com.azure.search.models.CustomAnalyzer&text=CustomAnalyzer\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Allows you to take control over the process of converting text into indexable/searchable tokens. It's a user-defined configuration consisting of a single predefined tokenizer and one or more filters. The tokenizer is responsible for breaking text into tokens, and the filters for modifying tokens emitted by the tokenizer."
metadata: {}
package: "com.azure.search.models"
artifact: com.azure:azure-search:11.0.0-beta.1