-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Closed as not planned
Closed as not planned
Copy link
Labels
:Search Relevance/AnalysisHow text is split into tokensHow text is split into tokens>bugTeam:Search RelevanceMeta label for the Search Relevance team in ElasticsearchMeta label for the Search Relevance team in Elasticsearchgood first issuelow hanging fruitlow hanging fruithelp wantedadoptmeadoptme
Description
Elasticsearch Version
8.1.1
Installed Plugins
None
Java Version
bundled
OS Version
macos
Problem Description
Create a custom analyzer using below request, Note foo as an param to analyzer with bar value.
PUT customanlyzerindex
{
"settings": {
"analysis": {
"analyzer": {
"my_analyzer": {
"type": "custom",
"tokenizer": "standard",
"foo": "bar"
}
}
}
}
}
Index is created successfully, and foo param is returned in the _settings API response.
GET customanlyzerindex/_settings
{
"customanz": {
"settings": {
"index": {
"routing": {
"allocation": {
"include": {
"_tier_preference": "data_content"
}
}
},
"number_of_shards": "1",
"provided_name": "customanz",
"creation_date": "1649229792216",
"analysis": {
"analyzer": {
"my_analyzer": {
"type": "custom",
"foo": "bar",
"tokenizer": "standard"
}
}
},
"number_of_replicas": "1",
"uuid": "zo-99vRVQD6igTzbyFMNKA",
"version": {
"created": "8010199"
}
}
}
}
}
Steps to Reproduce
Same as problem Description
Logs (if relevant)
N/A
chen-ni
Metadata
Metadata
Assignees
Labels
:Search Relevance/AnalysisHow text is split into tokensHow text is split into tokens>bugTeam:Search RelevanceMeta label for the Search Relevance team in ElasticsearchMeta label for the Search Relevance team in Elasticsearchgood first issuelow hanging fruitlow hanging fruithelp wantedadoptmeadoptme