a go daemon that syncs MongoDB to Elasticsearch in realtime. you know, for search.
MIT License
Published by rwynn over 6 years ago
index-as-update
boolean config option that allow merge instead of replacefind
and findOne
functions available in scriptsPublished by rwynn over 6 years ago
Published by rwynn over 6 years ago
Published by rwynn over 6 years ago
Published by rwynn over 6 years ago
Published by rwynn over 6 years ago
direct-read-split-max
which limits the number of times a collection is split for reading during direct-reads and thus the number of go routines and MongoDB connections spawned. The default is 9. Tune this setting to increase/decrease the amount of memory the monstache process will consume.Published by rwynn over 6 years ago
direct-read-split-max
which limits the number of times a collection is split for reading during direct-reads and thus the number of go routines and MongoDB connections spawned. The default is 9. Tune this setting to increase/decrease the amount of memory the monstache process will consume.Published by rwynn over 6 years ago
prune-invalid-json
turned onprune-invalid-json
settingPublished by rwynn over 6 years ago
prune-invalid-json
turned onprune-invalid-json
settingPublished by rwynn over 6 years ago
Note there is a problem with javascript filters in this release. This will be fixed shortly in 4.6.3, but until then please build monstache v4 using go get github.com/rwynn/monstache
. This fixes the javascript filter issue
elasticsearch-max-conns went from 10 -> 4
elasticsearch-max-docs went from 1000 -> do not flush based on count (I suggest not overriding this since document sizes can vary greatly - instead use max-bytes)
elasticsearch-max-bytes went from 5MB -> 8MB
Note when you specify elasticseach-max-bytes the value is in bytes not MB. Sorry, I know that is annoying.
Published by rwynn over 6 years ago
Note there is a problem with javascript filters in this release. This will be fixed shortly in 3.13.3, but until then please build monstache v3 using go get gopkg.in/rwynn/monstache.v3. This fixes the javascript filter issue
elasticsearch-max-conns went from 10 -> 4
elasticsearch-max-docs went from 1000 -> do not flush based on count (I suggest not overriding this since document sizes can vary greatly - instead use max-bytes)
elasticsearch-max-bytes went from 5MB -> 8MB
Note when you specify elasticseach-max-bytes the value is in bytes not MB. Sorry, I know that is annoying.
Published by rwynn over 6 years ago
Note there is a major regression in versions 4.6.0 and 4.6.1. This will be fixed shortly in 4.6.2, but until then please build monstache v4 using go get github.com/rwynn/monstache
. This will pick up new version of a dependency to fix the issue
Published by rwynn over 6 years ago
Note there is a major regression in versions 3.13.0 and 3.13.1. This will be fixed shortly in 3.13.2, but until then please build monstache v3 using go get gopkg.in/rwynn/monstache.v3
. This will pick up new version of a dependency to fix the issue
Published by rwynn over 6 years ago
Published by rwynn over 6 years ago
Published by rwynn over 6 years ago
delete-index-pattern
to specify an Elasticsearch index pattern to scope stateless deletes. Indexes outside of thisdirect-read-cursors
and direct-read-batch-size
have been removed as options. The underlying gtm library of monstache has beenprune-invalid-json
, which defaults to false. Set this to true if your MongoDB data has values such as +Inf,Published by rwynn over 6 years ago
delete-index-pattern
to specify an Elasticsearch index pattern to scope stateless deletes. Indexes outside of thisdirect-read-cursors
and direct-read-batch-size
have been removed as options. The underlying gtm library of monstache has beenprune-invalid-json
, which defaults to false. Set this to true if your MongoDB data has values such as +Inf,Published by rwynn over 6 years ago
monstache.meta
collection. Instead, if custom routing is performed via scripts (changing parent, index, routing, etc. values), monstache will perform a term search by _id across all indexes to find and delete documents if they are deleted from MongoDB. To revert to the previous strategy of saving routing info in monstache.meta
, run monstache with the config option delete-strategy
set to 1
. To use a delete strategy of ignore
set delete-strategy
to 2
. The ignore delete strategy just means that monstache will not attempt to sync individual documents deletes in MongoDB to Elasticsearch.monstache.meta
, was time and space intensive. With the new strategy you will likely see better indexing performance if you have been using scripts to alter the _meta_monstache
variable.Published by rwynn over 6 years ago
monstache.meta
collection. Instead, if custom routing is performed via scripts (changing parent, index, routing, etc. values), monstache will perform a term search by _id across all indexes to find and delete documents if they are deleted from MongoDB. To revert to the previous strategy of saving routing info in monstache.meta
, run monstache with the config option delete-strategy
set to 1
. To use a delete strategy of ignore
set delete-strategy
to 2
. The ignore delete strategy just means that monstache will not attempt to sync individual documents deletes in MongoDB to Elasticsearch.monstache.meta
, was time and space intensive. With the new strategy you will likely see better indexing performance if you have been using scripts to alter the _meta_monstache
variable.Published by rwynn over 6 years ago