你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SearchMode Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.search.documents.models.SearchMode

public enum SearchMode
extends Enum<SearchMode>

Specifies whether any or all of the search terms must be matched in order to count the document as a match.

Fields

ALL

All of the search terms must be matched in order to count the document as a match.

ANY

Any of the search terms must be matched in order to count the document as a match.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

fromString(String value)

public static SearchMode fromString(String value)

Parses a serialized value to a SearchMode instance.

Parameters

value
String
the serialized value to parse.

Returns

the parsed SearchMode object, or null if unable to parse.

toString()

public String toString()

Returns

Overrides
java.lang.Enum.toString()

valueOf(String name)

public static SearchMode valueOf(String name)

Parameters

name
String

Returns

values()

public static SearchMode[] values()

Returns

Applies to