ExAliyunOts.Search.wildcard_query
You're seeing just the function
wildcard_query
, go back to ExAliyunOts.Search module for more information.
Specs
wildcard_query(field_name(), value :: String.t()) :: map()
Use WildcardQuery as the nested :query
option of :search_query
option in ExAliyunOts.search/4
.
Official document in Chinese | English
Example
import MyApp.TableStore
search "table", "index_name",
search_query: [
query: wildcard_query("name", "n*")
]