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

137 строки
9.5 KiB
YAML
Исходник Постоянная ссылка Обычный вид История

### YamlMime:JavaType
uid: "com.azure.search.models.PatternAnalyzer"
fullName: "com.azure.search.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.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 **PatternAnalyzer**</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.PatternAnalyzer.PatternAnalyzer()"
fullName: "com.azure.search.models.PatternAnalyzer.PatternAnalyzer()"
name: "PatternAnalyzer()"
nameWithType: "PatternAnalyzer.PatternAnalyzer()"
syntax: "public PatternAnalyzer()"
methods:
- uid: "com.azure.search.models.PatternAnalyzer.getFlags()"
fullName: "com.azure.search.models.PatternAnalyzer.getFlags()"
name: "getFlags()"
nameWithType: "PatternAnalyzer.getFlags()"
summary: "Get the flags property: Regular expression flags."
syntax: "public RegexFlags getFlags()"
desc: "Get the flags property: Regular expression flags. Possible values include: 'CANON\\_EQ', 'CASE\\_INSENSITIVE', 'COMMENTS', 'DOTALL', 'LITERAL', 'MULTILINE', 'UNICODE\\_CASE', 'UNIX\\_LINES'."
returns:
description: "the flags value."
type: "<xref href=\"com.azure.search.models.RegexFlags?alt=com.azure.search.models.RegexFlags&text=RegexFlags\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.PatternAnalyzer.getPattern()"
fullName: "com.azure.search.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 whitespace 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.models.PatternAnalyzer.getStopwords()"
fullName: "com.azure.search.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.models.PatternAnalyzer.isLowerCaseTerms()"
fullName: "com.azure.search.models.PatternAnalyzer.isLowerCaseTerms()"
name: "isLowerCaseTerms()"
nameWithType: "PatternAnalyzer.isLowerCaseTerms()"
summary: "Get the lower<wbr>Case<wbr>Terms property: A value indicating whether terms should be lower-cased."
syntax: "public Boolean isLowerCaseTerms()"
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.models.PatternAnalyzer.setFlags(com.azure.search.models.RegexFlags)"
fullName: "com.azure.search.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.models.RegexFlags?alt=com.azure.search.models.RegexFlags&text=RegexFlags\" data-throw-if-not-resolved=\"False\" />"
syntax: "public PatternAnalyzer setFlags(RegexFlags flags)"
desc: "Set the flags property: Regular expression flags. Possible values include: 'CANON\\_EQ', 'CASE\\_INSENSITIVE', 'COMMENTS', 'DOTALL', 'LITERAL', 'MULTILINE', 'UNICODE\\_CASE', 'UNIX\\_LINES'."
returns:
description: "the PatternAnalyzer object itself."
type: "<xref href=\"com.azure.search.models.PatternAnalyzer?alt=com.azure.search.models.PatternAnalyzer&text=PatternAnalyzer\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.PatternAnalyzer.setLowerCaseTerms(java.lang.Boolean)"
fullName: "com.azure.search.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.models.PatternAnalyzer?alt=com.azure.search.models.PatternAnalyzer&text=PatternAnalyzer\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.PatternAnalyzer.setPattern(java.lang.String)"
fullName: "com.azure.search.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 whitespace characters."
returns:
description: "the PatternAnalyzer object itself."
type: "<xref href=\"com.azure.search.models.PatternAnalyzer?alt=com.azure.search.models.PatternAnalyzer&text=PatternAnalyzer\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.PatternAnalyzer.setStopwords(java.util.List<java.lang.String>)"
fullName: "com.azure.search.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.models.PatternAnalyzer?alt=com.azure.search.models.PatternAnalyzer&text=PatternAnalyzer\" 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.models"
artifact: com.azure:azure-search:11.0.0-beta.1