1: curl -XPUT http://localhost:9200/test
output:
{"acknowledged":true}
2:curl -XPUT http://localhost:9200/test/person/_mapping
<http://www.google.com/url?q=http%3A%2F%2Flocalhost%3A9200%2Ftest%2Fperson%2F_mapping&sa=D&sntz=1&usg=AFQjCNHqXUOjd8oZ0fHnWz3Ihk80m-fH2A>
-d '
{ "person": { "properties": { "file":
{ "type": "attachment", "path": "full", "fields":
{ "file": { "type": "string",
"term_vector":"with_positions_
offsets", "store": true } } } } }}'
output:
MapperParsingException-No handler for type
[attachment] declared on field
-I went through this steps ,please also tell me about any further required
steps before the above two steps...
On Wednesday, January 7, 2015 1:32:02 PM UTC+5:30, David Pilato wrote:
>
> How exactly are you creating your mapping?
> Which command did you send?
>
> --
> David ;-)
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
>
> Le 7 janv. 2015 à 08:55, Shashi <[email protected]
> <javascript:>> a écrit :
>
>
> I have only one node....I didnot get about REST or Java client,will you
> please explain about REST or Java client..
> On Wednesday, January 7, 2015 12:59:44 PM UTC+5:30, David Pilato wrote:
>>
>> Do you have only one node? Are you using REST or Java client?
>>
>> --
>> David ;-)
>> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
>>
>> Le 7 janv. 2015 à 08:18, Shashi <[email protected]> a écrit :
>>
>>
>>
>> On Tuesday, January 6, 2015 7:15:55 PM UTC+5:30, David Pilato wrote:
>>>
>>> did you restart elasticsearch?
>>>
>>> --
>>> *David Pilato* | *Technical Advocate* | *Elasticsearch.com
>>> <http://Elasticsearch.com>*
>>> @dadoonet <https://twitter.com/dadoonet> | @elasticsearchfr
>>> <https://twitter.com/elasticsearchfr> | @scrutmydocs
>>> <https://twitter.com/scrutmydocs>
>>>
>>> Reply:
>>
>> thank you for your reply.
>> I did restart the elasticsearch service.But still no success.
>>
>>>
>>>
>>>
>>>
>>> --
>> 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/63196764-2864-4214-84bd-146994b0c006%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/elasticsearch/63196764-2864-4214-84bd-146994b0c006%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 [email protected] <javascript:>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/090620f9-0b6c-41cf-955f-3e0ba7537cb9%40googlegroups.com
>
> <https://groups.google.com/d/msgid/elasticsearch/090620f9-0b6c-41cf-955f-3e0ba7537cb9%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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/2dfe0649-28ab-4989-a8ab-ca493ca2d176%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.