Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli: configurable ES version_type when running indexer #68

Merged

Conversation

jmartinm
Copy link
Member

@jmartinm jmartinm commented Jun 8, 2017

  • Allows to configure the version_type used in ElasticSearch
    when running indexing from the cli.

Signed-off-by: Javier Martin Montull javier.martin.montull@cern.ch

* Allows to configure the version_type used in ElasticSearch
  when running indexing from the cli.

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
@jmartinm
Copy link
Member Author

jmartinm commented Jun 8, 2017

This was needed since for us we sometimes do some modification on ElasticSearch documents (which increase the _version). Then when reindexing, since the version is taken from the database, the default version_type=external_gte was causing an error.

So we need this configuration to be able to pass force as version_type instead.

@jmartinm jmartinm requested a review from lnielsen June 8, 2017 12:30
@jmartinm
Copy link
Member Author

jmartinm commented Jun 8, 2017

@lnielsen thanks for the approval. I am not authorized to merge, so I guess you'll have to do it.

@lnielsen lnielsen merged commit ead1eaa into inveniosoftware:master Jun 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants