Sorry, there was a mistake. We had all of the data in Elastic Search 
version 1.1 and then we upgraded to Elastic Search 1.2 (We did not 
re-indexed the data when we upgraded).

Thanks
Pir

On Tuesday, May 27, 2014 10:33:16 AM UTC+2, Pir Abdul Rasool Qureshi wrote:
>
> No change has been made to settings. It is like we were running version 
> 1.0.3 without any issues. We prepared another machine with Elastic Search 
> to 1.2. Re-indexed all of the data.
> After that the issue started to appear. 
>
> I am thinking of creating new index and re-indexing the data again, any 
> suggestions? 
>
> On Tuesday, May 27, 2014 10:17:48 AM UTC+2, David Pilato wrote:
>>
>> I can't find a good explanation here.
>> Did you update any setting at some point? Update elasticsearch? Added a 
>> plugin?
>>
>> The way we assign shard for a document is:
>>
>> - using parent shard when using parent/child feature
>> - using routing value if given
>> - using document id
>>
>> It sounds like you are using the 3rd option (default). So, the document 
>> should go to the same exact shard at index time as the one we get the 
>> document back at GET time.
>>
>> If you could find or recall any operation you did, it would help.
>>
>>
>> -- 
>> *David Pilato* | *Technical Advocate* | *Elasticsearch.com*
>> @dadoonet <https://twitter.com/dadoonet> | 
>> @elasticsearchfr<https://twitter.com/elasticsearchfr>
>>
>>
>> Le 27 mai 2014 à 08:50:23, Pir Abdul Rasool Qureshi ([email protected]) 
>> a écrit:
>>
>> {
>>    "took": 1,
>>    "timed_out": false,
>>    "_shards": {
>>       "total": 8,
>>       "successful": 8,
>>       "failed": 0
>>    },
>>    "hits": {
>>       "total": 1,
>>       "max_score": 1,
>>       "hits": [
>>          {
>>             "_index": "OurIndex",
>>             "_type": "OurType",
>>             "_id": "3624608",
>>             "_score": 1
>>          }
>>       ]
>>    }
>> }
>>
>> On Monday, May 26, 2014 4:17:03 PM UTC+2, David Pilato wrote: 
>>
>>  And this? 
>>
>> curl -XGET "
>> http://somehost:9200/colourbox/OurIndex/OurType/_search?q=_id:3624608&pretty&fields=_routing
>> "
>>  
>>  
>>  
>>      -- 
>> *David Pilato* | *Technical Advocate* | *Elasticsearch.com* 
>>  @dadoonet <https://twitter.com/dadoonet> | 
>> @elasticsearchfr<https://twitter.com/elasticsearchfr>
>>  
>>        
>> Le 26 mai 2014 à 15:49:00, Pir Abdul Rasool Qureshi ([email protected]) 
>> a écrit:
>>
>>   {
>>    "took": 1,
>>    "timed_out": false,
>>    "_shards": {
>>       "total": 8,
>>       "successful": 8,
>>       "failed": 0
>>    },
>>    "hits": {
>>       "total": 1,
>>       "max_score": 1,
>>       "hits": [
>>          {
>>             "_index": "OurIndex",
>>             "_type": "OurType",
>>             "_id": "3624608",
>>             "_score": 1,
>>             "_source": {
>>                "f_id": "3649288",
>>                "db_id": "3624608",
>>                "company_id": "2",
>>                "supplier_id": "6100",
>>                "editorial": false,
>>                "adult_content": false,
>>                "duration": null,
>>                "status": "released",
>>                "bucket_id": "4",
>>                "width": "2250",
>>                "height": "3000",
>>                "orientation": "vertical",
>>                "resolution": "other",
>>                "dimension": "2250X3000",
>>                "created": "2012-03-14T21:22:08Z",
>>                "added": "2012-03-14T22:22:08Z",
>>                "published": "2012-03-14T22:23:56Z",
>>                "media_type": "image",
>>                "folder_ids": [
>>                   1
>>                ],
>>                "id": "3624608",
>>                "en_keywords_5": [
>>                   "concept",
>>             }
>>          }
>>       ]
>>    }
>> }
>>  
>>
>> On Mon, May 26, 2014 at 3:44 PM, David Pilato <[email protected]> wrote:
>>
>>  Could you send the result of: curl -XGET "
>> http://somehost:9200/colourbox/OurIndex/OurType/_search?q=_id:3624608
>> &pretty"
>>  
>>
>>      -- 
>> *David Pilato* | *Technical Advocate* | *Elasticsearch.com* 
>>  @dadoonet <https://twitter.com/dadoonet> | 
>> @elasticsearchfr<https://twitter.com/elasticsearchfr>
>>  
>>        
>> Le 26 mai 2014 à 15:42:37, Pir Abdul Rasool Qureshi ([email protected]) 
>> a écrit:
>>
>>   No, We are not using any routing at all. 
>> Secondly, I tried to reproduce it by adding some new documents and then 
>> using GET. However, I am not yet successful in reproducing the issue.
>>
>> For newer documents, GET works in an expected manner.  
>>
>> Thanks
>>
>>  
>>
>> On Mon, May 26, 2014 at 3:32 PM, David Pilato <[email protected]> wrote:
>>
>>  Are you sure you are not using any routing value when indexing?
>>  
>>  If so, could you recreate a curl/Sense recreation which reproduce the 
>> problem?
>>
>>      -- 
>> *David Pilato* | *Technical Advocate* | *Elasticsearch.com* 
>>  @dadoonet <https://twitter.com/dadoonet> | 
>> @elasticsearchfr<https://twitter.com/elasticsearchfr>
>>  
>>        
>> Le 26 mai 2014 à 15:30:43, Pir Abdul Rasool Qureshi ([email protected]) 
>> a écrit:
>>
>>   {
>>    "OurIndex": {
>>       "mappings": {
>>          "OurType": {
>>             "properties": {
>>                "added": {
>>                   "type": "date",
>>                   "format": "dateOptionalTime"
>>                },
>>                "adult_content": {
>>                   "type": "boolean"
>>                },
>>                "bucket_id": {
>>                   "type": "short"
>>                },
>>                "company_id": {
>>                   "type": "long"
>>                },
>>                "created": {
>>                   "type": "date",
>>                   "format": "dateOptionalTime"
>>                },
>>                "da_keywords_1": {
>>                   "type": "string"
>>                },
>>                "da_keywords_2": {
>>                   "type": "string"
>>                },
>>                "da_keywords_3": {
>>                   "type": "string"
>>                },
>>                "da_keywords_4": {
>>                   "type": "string"
>>                },
>>                "da_keywords_5": {
>>                   "type": "string"
>>                },
>>                "da_text_keywords_1": {
>>                   "type": "string",
>>                   "analyzer": "danish"
>>                },
>>                "da_text_keywords_2": {
>>                   "type": "string",
>>                   "analyzer": "danish"
>>                },
>>                "da_text_keywords_3": {
>>                   "type": "string",
>>                   "analyzer": "danish"
>>                },
>>                "da_text_keywords_4": {
>>                   "type": "string",
>>                   "analyzer": "danish"
>>                },
>>                "da_text_keywords_5": {
>>                   "type": "string",
>>                   "analyzer": "danish"
>>                },
>>                "da_text_title": {
>>                   "type": "string",
>>                   "analyzer": "danish"
>>                },
>>                "da_title": {
>>                   "type": "string"
>>                },
>>                "de_keywords_1": {
>>                   "type": "string"
>>                },
>>                "de_keywords_2": {
>>                   "type": "string"
>>                },
>>                "de_keywords_3": {
>>                   "type": "string"
>>                },
>>                "de_keywords_4": {
>>                   "type": "string"
>>                },
>>                "de_keywords_5": {
>>                   "type": "string"
>>                },
>>                "de_text_keywords_1": {
>>                   "type": "string",
>>                   "analyzer": "german"
>>                },
>>                "de_text_keywords_2": {
>>                   "type": "string",
>>                   "analyzer": "german"
>>                },
>>                "de_text_keywords_3": {
>>                   "type": "string",
>>                   "analyzer": "german"
>>                },
>>                "de_text_keywords_4": {
>>                   "type": "string",
>>                   "analyzer": "german"
>>                },
>>                "de_text_keywords_5": {
>>                   "type": "string",
>>                   "analyzer": "german"
>>                },
>>                "de_text_title": {
>>                   "type": "string",
>>                   "analyzer": "german"
>>                },
>>                "de_title": {
>>                   "type": "string"
>>                },
>>                "dimension": {
>>                   "type": "string"
>>                },
>>                "duration": {
>>                   "type": "integer"
>>                },
>>                "editorial": {
>>                   "type": "string"
>>                },
>>                "en_keywords_1": {
>>                   "type": "string"
>>                },
>>                "en_keywords_2": {
>>                   "type": "string"
>>                },
>>                "en_keywords_3": {
>>                   "type": "string"
>>                },
>>                "en_keywords_4": {
>>                   "type": "string"
>>                },
>>                "en_keywords_5": {
>>                   "type": "string"
>>                },
>>                "en_text_keywords_1": {
>>                   "type": "string",
>>                   "analyzer": "english"
>>                },
>>                "en_text_keywords_2": {
>>                   "type": "string",
>>                   "analyzer": "english"
>>                },
>>                "en_text_keywords_3": {
>>                   "type": "string",
>>                   "analyzer": "english"
>>                },
>>                "en_text_keywords_4": {
>>                   "type": "string",
>>                   "analyzer": "english"
>>                },
>>                "en_text_keywords_5": {
>>                   "type": "string",
>>                   "analyzer": "english"
>>                },
>>                "en_text_title": {
>>                   "type": "string",
>>                   "analyzer": "english"
>>                },
>>                "en_title": {
>>                   "type": "string"
>>                },
>>                "folder_ids": {
>>                   "type": "long"
>>                },
>>                "height": {
>>                   "type": "integer"
>>                },
>>                "id": {
>>                   "type": "string"
>>                },
>>                "f_id": {
>>                   "type": "long"
>>                },
>>                "media_type": {
>>                   "type": "string"
>>                },
>>                "orientation": {
>>                   "type": "string"
>>                },
>>                "published": {
>>                   "type": "date",
>>                   "format": "dateOptionalTime"
>>                },
>>                "resolution": {
>>                   "type": "string"
>>                },
>>                "status": {
>>                   "type": "string"
>>                },
>>                "supplier_id": {
>>                   "type": "long"
>>                },
>>                "db_id": {
>>                   "type": "long"
>>                },
>>                "width": {
>>                   "type": "integer"
>>                }
>>      
>>
>> ...
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/360f09ba-8dd3-43e1-981f-9b36638a2726%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to