Re-index from _source


(Karma) #1

i'm interested in using ES as primary store and looking to ditch
mongodb, my question regardless roadmap and stabilty towards 1.0, when
something bad happens, would i be able to re-index by using data from
ES _source ?


(Karma) #2

1 more question, how to get response like Auto-Id value from Memcached
Set?

On May 30, 9:03 am, Karma akmal...@gmail.com wrote:

i'm interested in using ES as primary store and looking to ditch
mongodb, my question regardless roadmap and stabilty towards 1.0, when
something bad happens, would i be able to re-index by using data from
ES _source ?


(Karussell) #3

re-indexing via source and scan 'search' works nicely.

Be carefully when ditching mongodb as you won't get the document
immediately after indexing (real time latency of every search
solution).
Of course you can work around this via calling expensive refresh (not
recommended!) or via using the real time version information: set the
version and when indexing fails due to a version conflict:

  1. search to get the latest doc
  2. try to index again (until success)

On May 30, 3:03 am, Karma akmal...@gmail.com wrote:

i'm interested in using ES as primary store and looking to ditch
mongodb, my question regardless roadmap and stabilty towards 1.0, when
something bad happens, would i be able to re-index by using data from
ES _source ?


(Karma) #4

Thanks, after hours of creating and playing with golang DB interface
for ES as data store i came to conclusion, ES was never meant to
replace a real DB. so i'm back to ES+Mongodb (with _source disabled)

On May 30, 9:20 pm, Karussell tableyourt...@googlemail.com wrote:

re-indexing via source and scan 'search' works nicely.

Be carefully when ditching mongodb as you won't get the document
immediately after indexing (real time latency of every search
solution).
Of course you can work around this via calling expensive refresh (not
recommended!) or via using the real time version information: set the
version and when indexing fails due to a version conflict:

  1. search to get the latest doc
  2. try to index again (until success)

On May 30, 3:03 am, Karma akmal...@gmail.com wrote:

i'm interested in using ES as primary store and looking to ditch
mongodb, my question regardless roadmap and stabilty towards 1.0, when
something bad happens, would i be able to re-index by using data from
ES _source ?


(Karussell) #5

On May 30, 4:50 pm, Karma akmal...@gmail.com wrote:

Thanks, after hours of creating and playing with golang DB interface
for ES as data store i came to conclusion, ES was never meant to
replace a real DB.

That's indeed the case, but I'm using it as DB. So what were your
problems?


(fashionalwallet) #6
  • deleted -

(system) #7