)]}'
{"doc/source/indexingservice.rst":[{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"aad162fc2d7c76baf3a268b5cadb563814a1825c","unresolved":false,"context_lines":[{"line_number":215,"context_line":"from Elasticsearch only, bypassing the plugin APIs altogether."},{"line_number":216,"context_line":"This option is useful if there has been a change to the mapping"},{"line_number":217,"context_line":"definitions or the index settings. This functionality is enabled"},{"line_number":218,"context_line":"with the option ``--copy-existing-data`` for the ``index`` command."},{"line_number":219,"context_line":""},{"line_number":220,"context_line":"A sample usage would be::"},{"line_number":221,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"9ad45d7e_0cbf57fc","line":218,"range":{"start_line":218,"start_character":59,"end_line":218,"end_character":66},"updated":"2016-08-08 19:47:20.000000000","message":"Note that this cannot be used to change resource group names since it won\u0027t know the source index.","commit_id":"94049b63d30405d88aba7ee6d99a412d2bc8778c"},{"author":{"_account_id":14680,"name":"Rick Aulino","email":"rick.aulino@hpe.com","username":"ricka"},"change_message_id":"e624aeb1f1a9f7dff27274af66ae1ceb87a1d531","unresolved":false,"context_lines":[{"line_number":215,"context_line":"from Elasticsearch only, bypassing the plugin APIs altogether."},{"line_number":216,"context_line":"This option is useful if there has been a change to the mapping"},{"line_number":217,"context_line":"definitions or the index settings. This functionality is enabled"},{"line_number":218,"context_line":"with the option ``--copy-existing-data`` for the ``index`` command."},{"line_number":219,"context_line":""},{"line_number":220,"context_line":"A sample usage would be::"},{"line_number":221,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"9ad45d7e_22885f22","line":218,"range":{"start_line":218,"start_character":59,"end_line":218,"end_character":66},"in_reply_to":"9ad45d7e_0cbf57fc","updated":"2016-08-08 23:10:47.000000000","message":"So noted.","commit_id":"94049b63d30405d88aba7ee6d99a412d2bc8778c"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"bb8faac1c045ceb51f036ca5a87e0278379f3e82","unresolved":false,"context_lines":[{"line_number":217,"context_line":"definitions or the index settings. This functionality is enabled"},{"line_number":218,"context_line":"with the option ``--copy-existing-data`` for the ``index`` command."},{"line_number":219,"context_line":"Note: The resource group name cannot be changed when using this"},{"line_number":220,"context_line":"option."},{"line_number":221,"context_line":""},{"line_number":222,"context_line":"A sample usage would be::"},{"line_number":223,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"9ad45d7e_05f3a574","line":220,"updated":"2016-08-08 23:29:27.000000000","message":"This is kind of ugly. Tried it out and it results in an empty index. This is actually going to be the case anytime we re-index from ES (e.g. partial reload from source).  I feel like this is possibly a higher order bug where we should at least warn people that they are re-indexing from the index for a newly defined index (resource group).","commit_id":"01b03a2341430b52cb0d8439546cfbe07daf372e"},{"author":{"_account_id":14680,"name":"Rick Aulino","email":"rick.aulino@hpe.com","username":"ricka"},"change_message_id":"f5053c5bbe71dc408e400b310b4cd02212c46ac2","unresolved":false,"context_lines":[{"line_number":217,"context_line":"definitions or the index settings. This functionality is enabled"},{"line_number":218,"context_line":"with the option ``--copy-existing-data`` for the ``index`` command."},{"line_number":219,"context_line":"Note: The resource group name cannot be changed when using this"},{"line_number":220,"context_line":"option."},{"line_number":221,"context_line":""},{"line_number":222,"context_line":"A sample usage would be::"},{"line_number":223,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"9ad45d7e_e0559f1d","line":220,"in_reply_to":"9ad45d7e_003553d9","updated":"2016-08-09 00:05:47.000000000","message":"The users are now warned.","commit_id":"01b03a2341430b52cb0d8439546cfbe07daf372e"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"4b0d70fbdf4c8997939f4365ffccf4dd585e70bb","unresolved":false,"context_lines":[{"line_number":217,"context_line":"definitions or the index settings. This functionality is enabled"},{"line_number":218,"context_line":"with the option ``--copy-existing-data`` for the ``index`` command."},{"line_number":219,"context_line":"Note: The resource group name cannot be changed when using this"},{"line_number":220,"context_line":"option."},{"line_number":221,"context_line":""},{"line_number":222,"context_line":"A sample usage would be::"},{"line_number":223,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"9ad45d7e_003553d9","line":220,"in_reply_to":"9ad45d7e_05f3a574","updated":"2016-08-08 23:39:08.000000000","message":"Okay, let\u0027s just add a warning here:\n\n.. warning::\n\n   .. warning::\n\n    The resource group cannot be changed when using this option.\n    If you do this, the underlying index will be changed and will result\n    in an empty index.","commit_id":"01b03a2341430b52cb0d8439546cfbe07daf372e"},{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"86585a2c6a4b1435d136884d9dfdf2c182004f56","unresolved":false,"context_lines":[{"line_number":215,"context_line":"from Elasticsearch only, bypassing the plugin APIs altogether."},{"line_number":216,"context_line":"This option is useful if there has been a change to the mapping"},{"line_number":217,"context_line":"definitions or the index settings. This functionality is enabled"},{"line_number":218,"context_line":"with the option ``--copy-existing-data`` for the ``index`` command."},{"line_number":219,"context_line":""},{"line_number":220,"context_line":"A sample usage would be::"},{"line_number":221,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"9ad45d7e_4703bc42","line":218,"range":{"start_line":218,"start_character":25,"end_line":218,"end_character":33},"updated":"2016-08-09 14:51:46.000000000","message":"This argument\u0027s been renamed","commit_id":"24f16e9d4128b340305f2af47b5237f9974bedf8"},{"author":{"_account_id":14680,"name":"Rick Aulino","email":"rick.aulino@hpe.com","username":"ricka"},"change_message_id":"577f2bedf7092c9c9f29ac33bbcfa5a80e8e711e","unresolved":false,"context_lines":[{"line_number":215,"context_line":"from Elasticsearch only, bypassing the plugin APIs altogether."},{"line_number":216,"context_line":"This option is useful if there has been a change to the mapping"},{"line_number":217,"context_line":"definitions or the index settings. This functionality is enabled"},{"line_number":218,"context_line":"with the option ``--copy-existing-data`` for the ``index`` command."},{"line_number":219,"context_line":""},{"line_number":220,"context_line":"A sample usage would be::"},{"line_number":221,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"9ad45d7e_4dd756bf","line":218,"range":{"start_line":218,"start_character":25,"end_line":218,"end_character":33},"in_reply_to":"9ad45d7e_4703bc42","updated":"2016-08-09 17:19:45.000000000","message":"Good catch. My global search was looking only at python files :(.","commit_id":"24f16e9d4128b340305f2af47b5237f9974bedf8"},{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"86585a2c6a4b1435d136884d9dfdf2c182004f56","unresolved":false,"context_lines":[{"line_number":219,"context_line":""},{"line_number":220,"context_line":"A sample usage would be::"},{"line_number":221,"context_line":""},{"line_number":222,"context_line":"    $ searchlight-manage index aliases --copy-existing-data"},{"line_number":223,"context_line":""},{"line_number":224,"context_line":"The ``--type`` option is not compatible with the ``--copy-exisitng-data``"},{"line_number":225,"context_line":"option. Specifying both options on the command line will result in an error."}],"source_content_type":"text/x-rst","patch_set":3,"id":"9ad45d7e_e7a2b04a","line":222,"range":{"start_line":222,"start_character":46,"end_line":222,"end_character":54},"updated":"2016-08-09 14:51:46.000000000","message":"Ditto","commit_id":"24f16e9d4128b340305f2af47b5237f9974bedf8"},{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"86585a2c6a4b1435d136884d9dfdf2c182004f56","unresolved":false,"context_lines":[{"line_number":221,"context_line":""},{"line_number":222,"context_line":"    $ searchlight-manage index aliases --copy-existing-data"},{"line_number":223,"context_line":""},{"line_number":224,"context_line":"The ``--type`` option is not compatible with the ``--copy-exisitng-data``"},{"line_number":225,"context_line":"option. Specifying both options on the command line will result in an error."},{"line_number":226,"context_line":""},{"line_number":227,"context_line":".. warning::"}],"source_content_type":"text/x-rst","patch_set":3,"id":"9ad45d7e_67f8804a","line":224,"range":{"start_line":224,"start_character":58,"end_line":224,"end_character":66},"updated":"2016-08-09 14:51:46.000000000","message":"Ditto plus typo","commit_id":"24f16e9d4128b340305f2af47b5237f9974bedf8"}],"releasenotes/notes/bp-allow-reindexing-into-new-mapping-bd78e94842fd2705.yaml":[{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"86585a2c6a4b1435d136884d9dfdf2c182004f56","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"prelude: \u003e"},{"line_number":3,"context_line":"    Add new functionality to searchlight-manage"},{"line_number":4,"context_line":"    to force a re-idnexing from Elasticsearch only."},{"line_number":5,"context_line":"features:"},{"line_number":6,"context_line":"  - Add a new option to the searchlight-manage index"},{"line_number":7,"context_line":"    command to force a re-idnexing from Elasticsearch"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"9ad45d7e_a74d589b","line":4,"range":{"start_line":4,"start_character":32,"end_line":4,"end_character":45},"updated":"2016-08-09 14:51:46.000000000","message":"Mention WHY this was added - to allow new mappings to be applied without expensive retrieval of all service data","commit_id":"24f16e9d4128b340305f2af47b5237f9974bedf8"},{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"86585a2c6a4b1435d136884d9dfdf2c182004f56","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"prelude: \u003e"},{"line_number":3,"context_line":"    Add new functionality to searchlight-manage"},{"line_number":4,"context_line":"    to force a re-idnexing from Elasticsearch only."},{"line_number":5,"context_line":"features:"},{"line_number":6,"context_line":"  - Add a new option to the searchlight-manage index"},{"line_number":7,"context_line":"    command to force a re-idnexing from Elasticsearch"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"9ad45d7e_e7b9107b","line":4,"range":{"start_line":4,"start_character":18,"end_line":4,"end_character":26},"updated":"2016-08-09 14:51:46.000000000","message":"Nit nit nit - \u0027indexing\u0027","commit_id":"24f16e9d4128b340305f2af47b5237f9974bedf8"},{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"86585a2c6a4b1435d136884d9dfdf2c182004f56","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    to force a re-idnexing from Elasticsearch only."},{"line_number":5,"context_line":"features:"},{"line_number":6,"context_line":"  - Add a new option to the searchlight-manage index"},{"line_number":7,"context_line":"    command to force a re-idnexing from Elasticsearch"},{"line_number":8,"context_line":"    only.  The plugin APIs will not be used with option."}],"source_content_type":"text/x-yaml","patch_set":3,"id":"9ad45d7e_87abf41c","line":7,"range":{"start_line":7,"start_character":26,"end_line":7,"end_character":34},"updated":"2016-08-09 14:51:46.000000000","message":"Same nit","commit_id":"24f16e9d4128b340305f2af47b5237f9974bedf8"}],"searchlight/cmd/manage.py":[{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"aad162fc2d7c76baf3a268b5cadb563814a1825c","unresolved":false,"context_lines":[{"line_number":119,"context_line":"    @args(\u0027--force\u0027, dest\u003d\u0027force\u0027, action\u003d\u0027store_true\u0027,"},{"line_number":120,"context_line":"          help\u003d\"Don\u0027t prompt (answer \u0027y\u0027)\")"},{"line_number":121,"context_line":"    @args(\u0027--copy-existing-data\u0027, dest\u003d\u0027force_es\u0027, action\u003d\u0027store_true\u0027,"},{"line_number":122,"context_line":"          help\u003d\"Copy all data from Elasticsearch\")"},{"line_number":123,"context_line":"    def sync(self, group\u003dNone, _type\u003dNone, force\u003dFalse, force_es\u003dFalse):"},{"line_number":124,"context_line":"        def wait_for_threads():"},{"line_number":125,"context_line":"            \"\"\"Patiently wait for all running threads to complete."}],"source_content_type":"text/x-python","patch_set":1,"id":"9ad45d7e_ac6f2b91","line":122,"range":{"start_line":122,"start_character":30,"end_line":122,"end_character":34},"updated":"2016-08-08 19:47:20.000000000","message":"Maybe \u0027Use existing indexed data but apply mappings and settings\u0027. \n\n\u0027Copy all data from Elasticsearch\u0027 sounds very vague.","commit_id":"94049b63d30405d88aba7ee6d99a412d2bc8778c"},{"author":{"_account_id":14680,"name":"Rick Aulino","email":"rick.aulino@hpe.com","username":"ricka"},"change_message_id":"e624aeb1f1a9f7dff27274af66ae1ceb87a1d531","unresolved":false,"context_lines":[{"line_number":119,"context_line":"    @args(\u0027--force\u0027, dest\u003d\u0027force\u0027, action\u003d\u0027store_true\u0027,"},{"line_number":120,"context_line":"          help\u003d\"Don\u0027t prompt (answer \u0027y\u0027)\")"},{"line_number":121,"context_line":"    @args(\u0027--copy-existing-data\u0027, dest\u003d\u0027force_es\u0027, action\u003d\u0027store_true\u0027,"},{"line_number":122,"context_line":"          help\u003d\"Copy all data from Elasticsearch\")"},{"line_number":123,"context_line":"    def sync(self, group\u003dNone, _type\u003dNone, force\u003dFalse, force_es\u003dFalse):"},{"line_number":124,"context_line":"        def wait_for_threads():"},{"line_number":125,"context_line":"            \"\"\"Patiently wait for all running threads to complete."}],"source_content_type":"text/x-python","patch_set":1,"id":"9ad45d7e_a2956f41","line":122,"range":{"start_line":122,"start_character":30,"end_line":122,"end_character":34},"in_reply_to":"9ad45d7e_ac6f2b91","updated":"2016-08-08 23:10:47.000000000","message":"Done.","commit_id":"94049b63d30405d88aba7ee6d99a412d2bc8778c"},{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"86585a2c6a4b1435d136884d9dfdf2c182004f56","unresolved":false,"context_lines":[{"line_number":248,"context_line":"            print(\"Aborting.\")"},{"line_number":249,"context_line":"            sys.exit(1)"},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"        if not force_es:"},{"line_number":252,"context_line":"            # As an optimization, if any types are explicitly requested, we"},{"line_number":253,"context_line":"            # will index them from their service APIs. The rest will be"},{"line_number":254,"context_line":"            # indexed from an existing ES index, if one exists."}],"source_content_type":"text/x-python","patch_set":3,"id":"9ad45d7e_a7f1d86c","line":251,"range":{"start_line":251,"start_character":15,"end_line":251,"end_character":23},"updated":"2016-08-09 14:51:46.000000000","message":"Should\u0027ve noted this yesterday - could this if... else (liens 251 and 265) be replaced on line 257 with \u0027if _type or force_es\u0027 (and a comment)?  That\u0027ll mean that everything would be removed from plugins_to_index and everything added to es_reindex without a separate branch for this case.","commit_id":"24f16e9d4128b340305f2af47b5237f9974bedf8"},{"author":{"_account_id":14680,"name":"Rick Aulino","email":"rick.aulino@hpe.com","username":"ricka"},"change_message_id":"577f2bedf7092c9c9f29ac33bbcfa5a80e8e711e","unresolved":false,"context_lines":[{"line_number":248,"context_line":"            print(\"Aborting.\")"},{"line_number":249,"context_line":"            sys.exit(1)"},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"        if not force_es:"},{"line_number":252,"context_line":"            # As an optimization, if any types are explicitly requested, we"},{"line_number":253,"context_line":"            # will index them from their service APIs. The rest will be"},{"line_number":254,"context_line":"            # indexed from an existing ES index, if one exists."}],"source_content_type":"text/x-python","patch_set":3,"id":"9ad45d7e_7e1c7ec1","line":251,"range":{"start_line":251,"start_character":15,"end_line":251,"end_character":23},"in_reply_to":"9ad45d7e_a7f1d86c","updated":"2016-08-09 17:19:45.000000000","message":"Since \"force_es\" being set implies that \"_type\" is None this will work. I\u0027ll make the change.","commit_id":"24f16e9d4128b340305f2af47b5237f9974bedf8"}]}
