How would ElasticSearch do it?


(Malo BENOIST) #1

Hello,

I am new to elastic search and it seems like a very powerful tool.

There is a project I am working on for which I'd like to use Elastic Search
if it can do what we need.

The concept is simple : we have a lot of objects which have properties and
we would like to use Elastic Search to create a database to store them and
browse through the mass of data.
We already have a way to generate JSON files for the initial indexation.
The tricky part is that those objects properties tend to change (not too
often) and when that happens we would like to generate a new JSON file
containing only the modified fields (and the id), index it and be able to
consult the object with its latest properties as well as rewind to get rid
of recent changes.

So I believe ES can do it, the question is : How ? And what would the
request look like ?

Thanks for your time

Malo BENOIST

--
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/43a98657-f3e6-4d9c-8910-a60989edc5db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Alexander Reelsen) #2

Hey,

for one, the Update API might help you, see
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-update.html#docs-update
However, Elasticsearch does not keep a revision of older versions. This is
something you need to implement in your application.

--Alex

On Tue, Jun 24, 2014 at 5:50 PM, Malo BENOIST malo.benoist@gmail.com
wrote:

Hello,

I am new to elastic search and it seems like a very powerful tool.

There is a project I am working on for which I'd like to use Elastic
Search if it can do what we need.

The concept is simple : we have a lot of objects which have properties and
we would like to use Elastic Search to create a database to store them and
browse through the mass of data.
We already have a way to generate JSON files for the initial indexation.
The tricky part is that those objects properties tend to change (not too
often) and when that happens we would like to generate a new JSON file
containing only the modified fields (and the id), index it and be able to
consult the object with its latest properties as well as rewind to get rid
of recent changes.

So I believe ES can do it, the question is : How ? And what would the
request look like ?

Thanks for your time

Malo BENOIST

--
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/43a98657-f3e6-4d9c-8910-a60989edc5db%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/43a98657-f3e6-4d9c-8910-a60989edc5db%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/CAGCwEM_NrDjmZ1AMd9q1Mu%3Dv5nNYMMwz9mcypwvB1x37%2BPU-4w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(system) #3