Skip to content

Commit 9153ec8

Browse files
committed
Add stop words in pt-br
1 parent e64811c commit 9153ec8

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

kibana/example2.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,50 @@ GET /example2/_search
7373
}
7474
}
7575
}
76+
```
77+
78+
79+
### Removendo stop words na lingua portuguesa
80+
```
81+
PUT /example3
82+
{
83+
"settings": {
84+
"index": {
85+
"analysis": {
86+
"filter": {
87+
"synonym": {
88+
"type": "synonym",
89+
"lenient": true,
90+
"synonyms": [
91+
"i-pod, i pod => ipod",
92+
"universe, cosmos"
93+
]
94+
},
95+
"stop_words_brazilian": {
96+
"type": "stop",
97+
"stopwords": "_brazilian_"
98+
}
99+
},
100+
"analyzer": {
101+
"default": {
102+
"filter": [
103+
"asciifolding",
104+
"lowercase",
105+
"stop_words_brazilian",
106+
"synonym"
107+
],
108+
"tokenizer": "standard"
109+
}
110+
}
111+
}
112+
}
113+
}
114+
}
115+
116+
117+
POST /example3/_analyze
118+
{
119+
"analyzer": "default",
120+
"text": "Este é um exemplo de texto que eu gostaria de indexar."
121+
}
76122
```

0 commit comments

Comments
 (0)