File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change @@ -73,4 +73,50 @@ GET /example2/_search
73
73
}
74
74
}
75
75
}
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
+ }
76
122
```
You can’t perform that action at this time.
0 commit comments