Store results in temporary DB


(Serikozz) #1

Good day everyone! I am new to Elasticseacrh.
Can you guide me of how can I store retrieved results in database(Es or MongoDB)?
Need to store results somewhere to further operations...


(Ævar Arnfjörð Bjarmason) #2

On Fri, Jun 15, 2012 at 2:53 PM, Serikozz serikozz@mail.ru wrote:

Good day everyone! I am new to Elasticseacrh.
Can you guide me of how can I store retrieved results in database(Es or
MongoDB)?
Need to store results somewhere to further operations...

How about:

your_storage_layer.store(search_string_or_other_unique_key,

to_json(structure_you_get_back_from_elastic_search))


(David Pilato) #3

Just create your own docs with your datas and push them in an index.

ES can be used as a persistence layer.

David.

Le 15 juin 2012 à 14:53, Serikozz serikozz@mail.ru a écrit :

Good day everyone! I am new to Elasticseacrh.
Can you guide me of how can I store retrieved results in database(Es or
MongoDB)?
Need to store results somewhere to further operations...

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/Store-results-in-temporary-DB-tp4019373.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.

--
David Pilato
http://dev.david.pilato.fr/
Twitter : @dadoonet


(Serikozz) #4

in SQL I usually create temporary table to store query output...but what to do in case of NoSQL db?


(system) #5