エラスティック サーチで、1 つの multi_field タイプを使用してインデックスに次のマッピングを定義しました。
{
'station': {
"properties" :{
'id': {'type': 'integer'},
'call': {'type': 'multi_field',
'fields' : {
'call': {'type': 'string', 'analyzer': 'whitespace'},
'raw': {'type': 'string', 'index': 'not_analyzed'}
}
}
}
}
}
Mozilla の ElasticUltis が気に入っていますが、multi_field フィールドを照会する方法が見つかりませんでした。
私は次のようなものを期待していたでしょう:
myQuery = S.query(call_raw__wildcard="value")
Elasticutils で multi_field フィールドをクエリする方法を知っている人はいますか?