Hi
Happy New Year
I have install the mapper and the restart the Elasticsearch but there is
still this error
curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume.
but the rest seems to be ok.
On Fri, Dec 28, 2012 at 4:32 PM, David Pilato david@pilato.fr wrote:
**
The attachment plugin is not correctly setup.
You probably didn't execute: bin/plugin -install
elasticsearch/elasticsearch-mapper-attachments/1.6.0 and restart your ES
instance.Have a look at plugin dochttps://github.com/elasticsearch/elasticsearch-mapper-attachments.
Also, look at this tutorialhttp://www.elasticsearch.org/tutorials/2011/07/18/attachment-type-in-action.html.
David.
Le 28 décembre 2012 à 10:01, Tan Chween Tah jundatan85@gmail.com a
écrit :Thanks after installing the curl on my linux system and i ran the file.sh
filei was return with some mapping error
{"ok":true,"acknowledged":true}{"ok":true,"acknowledged":true}{
"cluster_name" : "elasticsearch",
"status" : "green",
"timed_out" : false,
"number_of_nodes" : 6,
"number_of_data_nodes" : 6,
"active_primary_shards" : 1,
"active_shards" : 1,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 0
}{" error":"MapperParsingException[No handler for type [attachment]
declared on field [file]]","status":400}** Resuming transfer from byte
position 416315
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
0 406k 0 0 0 0 0 0 --:--:-- --:--:--
--:--:-- 0
curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume.
{"ok":true,"_index":"test","_type":"attachment","_id":"5vC4T4jOTvKqDzZqqBpG9w","_version":1}{"ok":true,"_shards":{"total":1,"successful":1,"failed":0}}{
"took" : 78,
"timed_out" : false,
"_shards" : {
"total" : 1,
"successful" : 1,
"failed" : 0
},
"hits" : {
"total" : 0,
"max_score" : null,
"hits" :
}any idea ?
--
David Pilato
http://www.scrutmydocs.org/
http://dev.david.pilato.fr/
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs--
--