Closed florianbepunkt closed 5 years ago
Please rename option to onlyOnDemandIndexing
and add info about it to README.
Thanks.
FYI You also may use Filtered Indexing https://github.com/jbdemonte/mongoose-elasticsearch-xp#filtered-indexing. When some field in model has proper values, then doc be send or removed from ES index.
Make proper changes myself directly to master
@florianbepunkt thanks for PR
@florianbepunkt Version 5.6.0 was just published to npm. Please try it with your app.
Will do so this week. Thank you.
On Mon, Oct 29, 2018 at 3:31 PM Pavel Chertorogov notifications@github.com wrote:
@florianbepunkt https://github.com/florianbepunkt Version 5.6.0 was just published to npm. Please try it with your app.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jbdemonte/mongoose-elasticsearch-xp/pull/50#issuecomment-433931906, or mute the thread https://github.com/notifications/unsubscribe-auth/AH7dWsj6l89ja2kvOmZyQONOsQPh173uks5upxE4gaJpZM4X9Zv8 .
@nodkz Working great, thank you
closes #49
indexAutomatically option is set to true by default. when set to false, middleware hooks are not fired which allows for more fine grained control over when a document should be indexed/removed