RFC 6902 requires variant type mapping

Hello,

RFC 6902 - http://jsonpatch.com/ specifies a 'value' field that can be any
JSON type:

eg:

[
{ "op": "replace", "path": "/baz", "value": "boo" },
{ "op": "add", "path": "/hello, "value": ["world"] }
]

How do I set up ES to index these kinds of documents?

TIA,
Steven

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/2808e5b6-e4b8-494f-870f-d2475ba5c97e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

You'd have to use a plugin for such kind of operations, because vanilla ES
does not support RFC 6902

I'm also interested in supporting HTTP PATCH by Elasticsearch, because this
is a must have for modifying resources due to the rules of Linked Data
Platform (LDP) Linked Data Platform 1.0

Jörg

On Mon, Jun 2, 2014 at 2:44 AM, Steven Marcus steven.marcus@gmail.com
wrote:

Hello,

RFC 6902 - http://jsonpatch.com/ specifies a 'value' field that can be
any JSON type:

eg:

[
{ "op": "replace", "path": "/baz", "value": "boo" },
{ "op": "add", "path": "/hello, "value": ["world"] }
]

How do I set up ES to index these kinds of documents?

TIA,
Steven

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/2808e5b6-e4b8-494f-870f-d2475ba5c97e%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/2808e5b6-e4b8-494f-870f-d2475ba5c97e%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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoHJ%2BHQ-cxp3a0%3D2on%2B6qvWg%2B5KkAgdu2tr9h9%2BX0VTUJw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.