Thanks, I think I find the answer, write at the bottom.

On Friday, August 29, 2014 12:14:11 AM UTC+8, Jörg Prante wrote:
>
> Did you index with ES 1.2.0? Looks like the routing bug that was fixed in 
> 1.2.1.
>
> If so, you must reindex your data.
>
> Jörg
>
>
> On Wed, Aug 27, 2014 at 10:35 AM, fiefdx yang <fie...@gmail.com 
> <javascript:>> wrote:
>
>> I use elasticsearch 1.2.1 with 
>> 1 cluster 16 nodes on one machine
>> every node has data
>> set refresh_interval: 3600s
>>
>> *I am confused these:*
>> first I can get it
>> [root@d04 scripts]# curl '
>> http://localhost:9200/avmlsearch/dynamic_avml/_search?q=263C7D7004704A3E321D2C6252D9C2A8&pretty
>> '
>> {
>>   "took" : 2,
>>   "timed_out" : false,
>>   "_shards" : {
>>     "total" : 4,
>>     "successful" : 4,
>>     "failed" : 0
>>   },
>>   "hits" : {
>>     "total" : 1,
>>     "max_score" : 1.6702784,
>>     "hits" : [ {
>>       "_index" : "avmlsearch",
>>       "_type" : "dynamic_avml",
>>       "_id" : "d48e4736f647c2f098972d71627dd09bc386c204",
>>       "_score" : 1.6702784,
>>       "_source":{"mutant": "", "file_paths": 
>> "C:\\WINDOWS\\system32\\usp10.dll\nC:\\WINDOWS\\system32\\imm32.dll\nC:\\WINDOWS\\system32\\lpk.dll\nC:\\WINDOWS\\system32\\psapi.dll\nC:\\WINDOWS\\system32\\ws2_32.dll\nC:\\WINDOWS\\system32\\ws2help.dll",
>>  
>> "parent": "", "source": "dynamic_avml", "genes": "", "windows_api": 
>> "CreateToolhelp32Snapshot\nZwWriteFile\nCreateFileW\nZwTerminateProcess\nZwCreateFile\nGetModuleFileNameW\nReadFile\nLoadLibraryExW\nZwCreateSection",
>>  
>> "ips": "", "urls": "", "crc32": "B8974180", "registries": "", "domains": 
>> "", "children": "", "import_time": "2014-08-27 15:55:37.815 +0800", "md5": 
>> "263C7D7004704A3E321D2C6252D9C2A8"}
>>     } ]
>>   }
>> }
>> second I can not get it
>> [root@d04 scripts]# curl '
>> http://localhost:9200/avmlsearch/dynamic_avml/_search?q=263C7D7004704A3E321D2C6252D9C2A8&pretty
>> '
>> {
>>   "took" : 2,
>>   "timed_out" : false,
>>   "_shards" : {
>>     "total" : 4,
>>     "successful" : 4,
>>     "failed" : 0
>>   },
>>   "hits" : {
>>     "total" : 0,
>>     "max_score" : null,
>>     "hits" : [ ]
>>   }
>> }
>> third I can get it
>> [root@d04 scripts]# curl '
>> http://localhost:9200/avmlsearch/dynamic_avml/_search?q=263C7D7004704A3E321D2C6252D9C2A8&pretty
>> '
>> {
>>   "took" : 2,
>>   "timed_out" : false,
>>   "_shards" : {
>>     "total" : 4,
>>     "successful" : 4,
>>     "failed" : 0
>>   },
>>   "hits" : {
>>     "total" : 1,
>>     "max_score" : 1.6702784,
>>     "hits" : [ {
>>       "_index" : "avmlsearch",
>>       "_type" : "dynamic_avml",
>>       "_id" : "d48e4736f647c2f098972d71627dd09bc386c204",
>>       "_score" : 1.6702784,
>>       "_source":{"mutant": "", "file_paths": 
>> "C:\\WINDOWS\\system32\\usp10.dll\nC:\\WINDOWS\\system32\\imm32.dll\nC:\\WINDOWS\\system32\\lpk.dll\nC:\\WINDOWS\\system32\\psapi.dll\nC:\\WINDOWS\\system32\\ws2_32.dll\nC:\\WINDOWS\\system32\\ws2help.dll",
>>  
>> "parent": "", "source": "dynamic_avml", "genes": "", "windows_api": 
>> "CreateToolhelp32Snapshot\nZwWriteFile\nCreateFileW\nZwTerminateProcess\nZwCreateFile\nGetModuleFileNameW\nReadFile\nLoadLibraryExW\nZwCreateSection",
>>  
>> "ips": "", "urls": "", "crc32": "B8974180", "registries": "", "domains": 
>> "", "children": "", "import_time": "2014-08-27 15:55:37.815 +0800", "md5": 
>> "263C7D7004704A3E321D2C6252D9C2A8"}
>>     } ]
>>   }
>> }
>> now, I can not get it too
>> [root@d04 scripts]# curl '
>> http://localhost:9200/avmlsearch/dynamic_avml/_search?q=263C7D7004704A3E321D2C6252D9C2A8&pretty
>> '
>> {
>>   "took" : 2,
>>   "timed_out" : false,
>>   "_shards" : {
>>     "total" : 4,
>>     "successful" : 4,
>>     "failed" : 0
>>   },
>>   "hits" : {
>>     "total" : 0,
>>     "max_score" : null,
>>     "hits" : [ ]
>>   }
>> }
>>
>> I do not know, how this happen???
>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "elasticsearch" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to elasticsearc...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/elasticsearch/7a582c63-e163-446d-8fa9-91fa4d51d6d5%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/elasticsearch/7a582c63-e163-446d-8fa9-91fa4d51d6d5%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/4b411006-9bcd-42b8-bcfe-97d6776c1994%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to