0
私はちょうどこのストップワード・アナライザ
{
"settings": {
"analysis": {
"filter": {
"english_stopwords": {
"type": "stop",
"stopwords": "_english_"
}
},
"analyzer": {
"filter_english_stopwords": {
"type": "custom",
"tokenizer": "standard",
"filter": [
"english_stopwords",
"porter_stem"
]
}
}
}}}
のようなストップワード・アナライザを作成し、この
{
"query": {
"filtered": {
"query": {
"multi_match": {
"query": "an clubbing",
"fields": [
"event_name",
"event_place",
"event_description"
],
"analyzer": [
"filter_english_stopwords"
]
}
}
}}}
のように、それは結構です、検索から"an"
キーワードが削除されますが 弾性検索に問い合わせますそれは私にすべてのデータを示す単語クラブクラブではない 私はすべてのデータを持っている必要がありますクラブ onl y
"_source": {
"event_id": "1669",
"event_name": "Exclusive Ladies Night Party",
"regular_id": "56750ee601fcfffc058b4567",
"event_place": "Asom Club Dwarka, Dwarka, New Delhi, India",
event_placeの値を参照してください。 私を助けてください。ありがとう
私は要件を理解していません。ごめんなさい。大胆な手紙を使用しており、サンプル文書や希望の結果を提供していませんでした。 –
私の結果がそこに追加されました....その結果を表示しますevent_place単語club with clubbing –
'event_place'フィールドのマッピングはなんですか? –