azure-docs-sdk-java/docs-ref-autogen/com.azure.search.documents....

216 строки
16 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.search.documents.indexes.models.PatternAnalyzer"
fullName: "com.azure.search.documents.indexes.models.PatternAnalyzer"
name: "PatternAnalyzer"
nameWithType: "PatternAnalyzer"
summary: "Flexibly separates text into terms via a regular expression pattern."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.search.documents.indexes.models.LexicalAnalyzer?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.azure.search.documents.indexes.models.LexicalAnalyzer?alt=com.azure.search.documents.indexes.models.LexicalAnalyzer&text=LexicalAnalyzer\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.azure.search.documents.indexes.models.LexicalAnalyzer.fromJson(com.azure.json.JsonReader)?alt=com.azure.search.documents.indexes.models.LexicalAnalyzer.fromJson&text=fromJson\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.search.documents.indexes.models.LexicalAnalyzer.getName()?alt=com.azure.search.documents.indexes.models.LexicalAnalyzer.getName&text=getName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.search.documents.indexes.models.LexicalAnalyzer.getOdataType()?alt=com.azure.search.documents.indexes.models.LexicalAnalyzer.getOdataType&text=getOdataType\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.search.documents.indexes.models.LexicalAnalyzer.toJson(com.azure.json.JsonWriter)?alt=com.azure.search.documents.indexes.models.LexicalAnalyzer.toJson&text=toJson\" 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 **PatternAnalyzer**</br> extends <xref href=\"com.azure.search.documents.indexes.models.LexicalAnalyzer?alt=com.azure.search.documents.indexes.models.LexicalAnalyzer&text=LexicalAnalyzer\" data-throw-if-not-resolved=\"False\" />"
constructors:
- uid: "com.azure.search.documents.indexes.models.PatternAnalyzer.PatternAnalyzer(java.lang.String)"
fullName: "com.azure.search.documents.indexes.models.PatternAnalyzer.PatternAnalyzer(String name)"
name: "PatternAnalyzer(String name)"
nameWithType: "PatternAnalyzer.PatternAnalyzer(String name)"
summary: "Creates an instance of Pattern<wbr>Analyzer class."
parameters:
- description: "the name value to set."
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public PatternAnalyzer(String name)"
desc: "Creates an instance of PatternAnalyzer class."
methods:
- uid: "com.azure.search.documents.indexes.models.PatternAnalyzer.areLowerCaseTerms()"
fullName: "com.azure.search.documents.indexes.models.PatternAnalyzer.areLowerCaseTerms()"
name: "areLowerCaseTerms()"
nameWithType: "PatternAnalyzer.areLowerCaseTerms()"
summary: "Get the lower<wbr>Case<wbr>Terms property: A value indicating whether terms should be lower-cased."
syntax: "public Boolean areLowerCaseTerms()"
desc: "Get the lowerCaseTerms property: A value indicating whether terms should be lower-cased. Default is true."
returns:
description: "the lowerCaseTerms value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
- uid: "com.azure.search.documents.indexes.models.PatternAnalyzer.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.search.documents.indexes.models.PatternAnalyzer.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "PatternAnalyzer.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Pattern<wbr>Analyzer from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static PatternAnalyzer fromJson(JsonReader jsonReader)"
exceptions:
- description: "If the deserialized JSON object was missing any required properties."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of PatternAnalyzer from the JsonReader."
returns:
description: "An instance of PatternAnalyzer if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
type: "<xref href=\"com.azure.search.documents.indexes.models.PatternAnalyzer?alt=com.azure.search.documents.indexes.models.PatternAnalyzer&text=PatternAnalyzer\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.documents.indexes.models.PatternAnalyzer.getFlags()"
fullName: "com.azure.search.documents.indexes.models.PatternAnalyzer.getFlags()"
name: "getFlags()"
nameWithType: "PatternAnalyzer.getFlags()"
summary: "Get the flags property: Regular expression flags."
syntax: "public List<RegexFlags> getFlags()"
desc: "Get the flags property: Regular expression flags."
returns:
description: "the flags value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.search.documents.indexes.models.RegexFlags?alt=com.azure.search.documents.indexes.models.RegexFlags&text=RegexFlags\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.search.documents.indexes.models.PatternAnalyzer.getOdataType()"
fullName: "com.azure.search.documents.indexes.models.PatternAnalyzer.getOdataType()"
name: "getOdataType()"
nameWithType: "PatternAnalyzer.getOdataType()"
summary: "Get the odata<wbr>Type property: A URI fragment specifying the type of analyzer."
overridden: "com.azure.search.documents.indexes.models.LexicalAnalyzer.getOdataType()"
syntax: "public String getOdataType()"
desc: "Get the odataType property: A URI fragment specifying the type of analyzer."
returns:
description: "the odataType value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.search.documents.indexes.models.PatternAnalyzer.getPattern()"
fullName: "com.azure.search.documents.indexes.models.PatternAnalyzer.getPattern()"
name: "getPattern()"
nameWithType: "PatternAnalyzer.getPattern()"
summary: "Get the pattern property: A regular expression pattern to match token separators."
syntax: "public String getPattern()"
desc: "Get the pattern property: A regular expression pattern to match token separators. Default is an expression that matches one or more non-word characters."
returns:
description: "the pattern value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.search.documents.indexes.models.PatternAnalyzer.getStopwords()"
fullName: "com.azure.search.documents.indexes.models.PatternAnalyzer.getStopwords()"
name: "getStopwords()"
nameWithType: "PatternAnalyzer.getStopwords()"
summary: "Get the stopwords property: A list of stopwords."
syntax: "public List<String> getStopwords()"
desc: "Get the stopwords property: A list of stopwords."
returns:
description: "the stopwords 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.documents.indexes.models.PatternAnalyzer.setFlags(com.azure.search.documents.indexes.models.RegexFlags...)"
fullName: "com.azure.search.documents.indexes.models.PatternAnalyzer.setFlags(RegexFlags[] flags)"
name: "setFlags(RegexFlags[] flags)"
nameWithType: "PatternAnalyzer.setFlags(RegexFlags[] flags)"
summary: "Set the flags property: Regular expression flags."
parameters:
- description: "the flags value to set."
name: "flags"
type: "<xref href=\"com.azure.search.documents.indexes.models.RegexFlags?alt=com.azure.search.documents.indexes.models.RegexFlags&text=RegexFlags\" data-throw-if-not-resolved=\"False\" />[]"
syntax: "public PatternAnalyzer setFlags(RegexFlags[] flags)"
desc: "Set the flags property: Regular expression flags."
returns:
description: "the PatternAnalyzer object itself."
type: "<xref href=\"com.azure.search.documents.indexes.models.PatternAnalyzer?alt=com.azure.search.documents.indexes.models.PatternAnalyzer&text=PatternAnalyzer\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.documents.indexes.models.PatternAnalyzer.setFlags(java.util.List<com.azure.search.documents.indexes.models.RegexFlags>)"
fullName: "com.azure.search.documents.indexes.models.PatternAnalyzer.setFlags(List<RegexFlags> flags)"
name: "setFlags(List<RegexFlags> flags)"
nameWithType: "PatternAnalyzer.setFlags(List<RegexFlags> flags)"
summary: "Set the flags property: Regular expression flags."
parameters:
- description: "the flags value to set."
name: "flags"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.search.documents.indexes.models.RegexFlags?alt=com.azure.search.documents.indexes.models.RegexFlags&text=RegexFlags\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public PatternAnalyzer setFlags(List<RegexFlags> flags)"
desc: "Set the flags property: Regular expression flags."
returns:
description: "the PatternAnalyzer object itself."
type: "<xref href=\"com.azure.search.documents.indexes.models.PatternAnalyzer?alt=com.azure.search.documents.indexes.models.PatternAnalyzer&text=PatternAnalyzer\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.documents.indexes.models.PatternAnalyzer.setLowerCaseTerms(java.lang.Boolean)"
fullName: "com.azure.search.documents.indexes.models.PatternAnalyzer.setLowerCaseTerms(Boolean lowerCaseTerms)"
name: "setLowerCaseTerms(Boolean lowerCaseTerms)"
nameWithType: "PatternAnalyzer.setLowerCaseTerms(Boolean lowerCaseTerms)"
summary: "Set the lower<wbr>Case<wbr>Terms property: A value indicating whether terms should be lower-cased."
parameters:
- description: "the lowerCaseTerms value to set."
name: "lowerCaseTerms"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
syntax: "public PatternAnalyzer setLowerCaseTerms(Boolean lowerCaseTerms)"
desc: "Set the lowerCaseTerms property: A value indicating whether terms should be lower-cased. Default is true."
returns:
description: "the PatternAnalyzer object itself."
type: "<xref href=\"com.azure.search.documents.indexes.models.PatternAnalyzer?alt=com.azure.search.documents.indexes.models.PatternAnalyzer&text=PatternAnalyzer\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.documents.indexes.models.PatternAnalyzer.setPattern(java.lang.String)"
fullName: "com.azure.search.documents.indexes.models.PatternAnalyzer.setPattern(String pattern)"
name: "setPattern(String pattern)"
nameWithType: "PatternAnalyzer.setPattern(String pattern)"
summary: "Set the pattern property: A regular expression pattern to match token separators."
parameters:
- description: "the pattern value to set."
name: "pattern"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public PatternAnalyzer setPattern(String pattern)"
desc: "Set the pattern property: A regular expression pattern to match token separators. Default is an expression that matches one or more non-word characters."
returns:
description: "the PatternAnalyzer object itself."
type: "<xref href=\"com.azure.search.documents.indexes.models.PatternAnalyzer?alt=com.azure.search.documents.indexes.models.PatternAnalyzer&text=PatternAnalyzer\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.documents.indexes.models.PatternAnalyzer.setStopwords(java.lang.String...)"
fullName: "com.azure.search.documents.indexes.models.PatternAnalyzer.setStopwords(String[] stopwords)"
name: "setStopwords(String[] stopwords)"
nameWithType: "PatternAnalyzer.setStopwords(String[] stopwords)"
summary: "Set the stopwords property: A list of stopwords."
parameters:
- description: "the stopwords value to set."
name: "stopwords"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>[]"
syntax: "public PatternAnalyzer setStopwords(String[] stopwords)"
desc: "Set the stopwords property: A list of stopwords."
returns:
description: "the PatternAnalyzer object itself."
type: "<xref href=\"com.azure.search.documents.indexes.models.PatternAnalyzer?alt=com.azure.search.documents.indexes.models.PatternAnalyzer&text=PatternAnalyzer\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.documents.indexes.models.PatternAnalyzer.setStopwords(java.util.List<java.lang.String>)"
fullName: "com.azure.search.documents.indexes.models.PatternAnalyzer.setStopwords(List<String> stopwords)"
name: "setStopwords(List<String> stopwords)"
nameWithType: "PatternAnalyzer.setStopwords(List<String> stopwords)"
summary: "Set the stopwords property: A list of stopwords."
parameters:
- description: "the stopwords value to set."
name: "stopwords"
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 PatternAnalyzer setStopwords(List<String> stopwords)"
desc: "Set the stopwords property: A list of stopwords."
returns:
description: "the PatternAnalyzer object itself."
type: "<xref href=\"com.azure.search.documents.indexes.models.PatternAnalyzer?alt=com.azure.search.documents.indexes.models.PatternAnalyzer&text=PatternAnalyzer\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.documents.indexes.models.PatternAnalyzer.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.search.documents.indexes.models.PatternAnalyzer.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "PatternAnalyzer.toJson(JsonWriter jsonWriter)"
overridden: "com.azure.search.documents.indexes.models.LexicalAnalyzer.toJson(com.azure.json.JsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Flexibly separates text into terms via a regular expression pattern. This analyzer is implemented using Apache Lucene."
metadata: {}
package: "com.azure.search.documents.indexes.models"
artifact: com.azure:azure-search-documents:11.7.3