Title: Re: index doc, pdf, odt .... => cluster : yellow, why ?
Hello!

Can you check and paste the cluster health (curl -XGET 'localhost:9200/_cluster/health?pretty')?

You probably have a single Elasticsearch node and you are suing the default configuration? If so than, by default, Elasticsearch created 5 shards and 1 replica of each. This means that while the 5 primary shards were properly initialized, the replicas are left alone (by default ES don't put primary shard and its replicas on the same node).


--
Regards,
Rafał Kuć
Performance Monitoring * Log Analytics * Search Analytics
Solr & Elasticsearch Support *
http://sematext.com/



Hello, this is my code when I index ( I use this because I want to make a search inside a document (on this content))

PUT test

PUT test/my_type/_mapping
{
   "my_type" : {
       "properties" : {
           "my_file" : {
               "type" : "attachment",
               "fields" : {
                   "my_file" : { "term_vector":"with_positions_offsets"}
               }
           }
       }
   }
}


I open my doc, I convert it in base64 and I index it.

PUT test/my_type/1
{
  "my_file" : "my file in base64",
  "name": "the name of file"
   
}

And I search :

GET test/my_etape/_search?pretty=true
{"size": 50,
"query": {
   "query_string": {
     
      "query": "my keywords"
     
   }
   },"highlight": {"fields": {"my_file":{"term_vector" : "with_positions_offsets"}
}
}
}

I don't understand why my cluster turn yellow ?
Have you an explanation for me or an other way to do this, please ?

Thank to you in advance.


--
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/c7ec2914-0498-414d-96a1-ccffeff93148%40googlegroups.com.
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 [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1668330457.20140710153919%40alud.com.pl.
For more options, visit https://groups.google.com/d/optout.

Reply via email to