0
當我將新文件放到我的索引,我不明白他們... 這裏是我的查詢:ElasticSearch:文件存在,但沒有找到
{ query:
{ bool:
{ must:
[ { match: { name: 'Here is the name' } },
{ parent_id: { type: 'type', id: 'parentID' } } ] } } }
就在,我要補充大量的(大約10 000個文件),我可以得到一些文件,而不是其他人,非常奇怪...
有時,我沒有文檔,當我從開發工具查詢,似乎工作後更好POST/_refresh,但我仍然沒有全部他們以後
這裏是我如何建立我的指數:
PUT /myIndex
{
"settings":{
"index":{
"number_of_shards":1,
"refresh_interval" : "-1",
"number_of_replicas" : 0
}
},
"mappings":{ // MY MAPPING HERE }
}
非常感謝。