Im new in elasticsearch,i installed elasticsearch version - 
elasticsearch-1.4.2 and mapper-attachment-plugin -2.4.1 .
Im refering this site 
https://github.com/elasticsearch/elasticsearch-mapper-attachments but there 
is error like  'MapperParsingException-No handler for type [attachment] 
declared on field' after executing this command:
                       1) curl -XPUT http://localhost:9200/test
                          output:
                             {"acknowledged":true} 
                      2)curl -XPUT 
http://localhost:9200/test/person/_mapping -d '
                      {  "person": {    "properties": {      "file": 
{        "type": "attachment",        "path": "full",        "fields": 
{          "file": {            "type": "string",                     
"term_vector":"with_positions_offsets",           "store": true          
}        }      }    } }}'

I also check the log elasticsearch.log it correctly load plugins:
[2015-01-06 17:56:25,088][INFO ][node                     ] [Tag] 
version[1.4.2], pid[25034], build[927caff/2014-12-16T14:11:12Z]
[2015-01-06 17:56:25,088][INFO ][node                     ] [Tag] 
initializing ...
*[2015-01-06 17:56:25,129][INFO ][plugins                  ] [Tag] loaded 
[mapper-attachments], sites []*
[2015-01-06 17:56:27,420][INFO ][node                     ] [Tag] 
initialized
[2015-01-06 17:56:27,420][INFO ][node                     ] [Tag] starting 
...
[2015-01-06 17:56:27,459][INFO ][transport                ] [Tag] 
bound_address {inet[/0:0:0:0:0:0:0:0:9301]}, publish_address 
{inet[/192.168.122.24:9301]}
[2015-01-06 17:56:27,469][INFO ][discovery                ] [Tag] 
elasticsearch/F1yU83WVSWSZmU6mCDTTIA
[2015-01-06 17:56:30,604][INFO ][cluster.service          ] [Tag] 
detected_master 
[Ion][tqGbZNSDQAa3DgWHo16CVw][isanalab][inet[/192.168.122.24:9300]], added 
{[Ion][tqGbZNSDQAa3DgWHo16CVw][isanalab][inet[/192.168.122.24:9300]],}, 
reason: zen-disco-receive(from master 
[[Ion][tqGbZNSDQAa3DgWHo16CVw][isanalab][inet[/192.168.122.24:9300]]])
[2015-01-06 17:56:30,685][INFO ][http                     ] [Tag] 
bound_address {inet[/0:0:0:0:0:0:0:0:9201]}, publish_address 
{inet[/192.168.122.24:9201]}
[2015-01-06 17:56:30,685][INFO ][node                     ] [Tag] started

thank you.



-- 
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/e8c1033c-c4ef-4a50-a884-1c1e1c7870fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to