)]}'
{"doc/source/authoring-plugins.rst":[{"author":{"_account_id":8959,"name":"Lakshmi N Sampath","email":"lakshmi.sampath@hp.com","username":"lakshmi"},"change_message_id":"cd88d879b6e82b5a970f8cc4d9752738216c611e","unresolved":false,"context_lines":[{"line_number":20,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"At a bare minimum, a plugin must consist of an elasticsearch mapping, and a"},{"line_number":23,"context_line":"method by which it can be populated from fresh. Many plugins also require a"},{"line_number":24,"context_line":"way to receive updates in order to keep the index up to date. For Openstack"},{"line_number":25,"context_line":"resources, typically the service API is used for initial indexing and"},{"line_number":26,"context_line":"notifications are received via oslo.messaging."}],"source_content_type":"text/x-rst","patch_set":2,"id":"9aed3d3a_29c64749","line":23,"range":{"start_line":23,"start_character":46,"end_line":23,"end_character":47},"updated":"2016-02-26 18:44:19.000000000","message":"can we reword \u0027fresh\u0027 and say something on the lines of plugin retrieving the data for initial indexing...","commit_id":"0d8028da063a5d668a77444ccbe6e5379229f8c2"},{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"ccc2fa7ab2667290292216314e8df153357856a1","unresolved":false,"context_lines":[{"line_number":20,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"At a bare minimum, a plugin must consist of an elasticsearch mapping, and a"},{"line_number":23,"context_line":"method by which it can be populated from fresh. Many plugins also require a"},{"line_number":24,"context_line":"way to receive updates in order to keep the index up to date. For Openstack"},{"line_number":25,"context_line":"resources, typically the service API is used for initial indexing and"},{"line_number":26,"context_line":"notifications are received via oslo.messaging."}],"source_content_type":"text/x-rst","patch_set":2,"id":"9aed3d3a_c52c8a9b","line":23,"range":{"start_line":23,"start_character":46,"end_line":23,"end_character":47},"in_reply_to":"9aed3d3a_29c64749","updated":"2016-02-29 16:12:18.000000000","message":"Done","commit_id":"0d8028da063a5d668a77444ccbe6e5379229f8c2"},{"author":{"_account_id":8959,"name":"Lakshmi N Sampath","email":"lakshmi.sampath@hp.com","username":"lakshmi"},"change_message_id":"cd88d879b6e82b5a970f8cc4d9752738216c611e","unresolved":false,"context_lines":[{"line_number":48,"context_line":""},{"line_number":49,"context_line":"    @classmethod"},{"line_number":50,"context_line":"    def get_document_type(self):"},{"line_number":51,"context_line":"        return \"OS::Nova::Server\""},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"Retrieving object for initial indexing"},{"line_number":54,"context_line":"^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9aed3d3a_89fdd33c","line":51,"range":{"start_line":51,"start_character":32,"end_line":51,"end_character":33},"updated":"2016-02-26 18:44:19.000000000","message":"Lets mention if there are multiple document types starting with OS::Nova:: they all can be under the same plugin folder but one Index subclass for each document type","commit_id":"0d8028da063a5d668a77444ccbe6e5379229f8c2"},{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"ccc2fa7ab2667290292216314e8df153357856a1","unresolved":false,"context_lines":[{"line_number":48,"context_line":""},{"line_number":49,"context_line":"    @classmethod"},{"line_number":50,"context_line":"    def get_document_type(self):"},{"line_number":51,"context_line":"        return \"OS::Nova::Server\""},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"Retrieving object for initial indexing"},{"line_number":54,"context_line":"^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9aed3d3a_c553ea15","line":51,"range":{"start_line":51,"start_character":32,"end_line":51,"end_character":33},"in_reply_to":"9aed3d3a_89fdd33c","updated":"2016-02-29 16:12:18.000000000","message":"Done","commit_id":"0d8028da063a5d668a77444ccbe6e5379229f8c2"},{"author":{"_account_id":8959,"name":"Lakshmi N Sampath","email":"lakshmi.sampath@hp.com","username":"lakshmi"},"change_message_id":"cd88d879b6e82b5a970f8cc4d9752738216c611e","unresolved":false,"context_lines":[{"line_number":53,"context_line":"Retrieving object for initial indexing"},{"line_number":54,"context_line":"^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"Plugins must implemented ``get_objects`` which in many cases will go to the"},{"line_number":57,"context_line":"API of the service it\"s indexing. It should return an iterable that will be"},{"line_number":58,"context_line":"passed to a function (also required) named ``serialize``, which in turn must"},{"line_number":59,"context_line":"return a dictionary suitable for Elasticsearch to index."}],"source_content_type":"text/x-rst","patch_set":2,"id":"9aed3d3a_096ee300","line":56,"range":{"start_line":56,"start_character":24,"end_line":56,"end_character":25},"updated":"2016-02-26 18:44:19.000000000","message":"nit s/implemented/implement","commit_id":"0d8028da063a5d668a77444ccbe6e5379229f8c2"},{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"ccc2fa7ab2667290292216314e8df153357856a1","unresolved":false,"context_lines":[{"line_number":53,"context_line":"Retrieving object for initial indexing"},{"line_number":54,"context_line":"^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"Plugins must implemented ``get_objects`` which in many cases will go to the"},{"line_number":57,"context_line":"API of the service it\"s indexing. It should return an iterable that will be"},{"line_number":58,"context_line":"passed to a function (also required) named ``serialize``, which in turn must"},{"line_number":59,"context_line":"return a dictionary suitable for Elasticsearch to index."}],"source_content_type":"text/x-rst","patch_set":2,"id":"9aed3d3a_255576f9","line":56,"range":{"start_line":56,"start_character":24,"end_line":56,"end_character":25},"in_reply_to":"9aed3d3a_096ee300","updated":"2016-02-29 16:12:18.000000000","message":"Done","commit_id":"0d8028da063a5d668a77444ccbe6e5379229f8c2"},{"author":{"_account_id":8959,"name":"Lakshmi N Sampath","email":"lakshmi.sampath@hp.com","username":"lakshmi"},"change_message_id":"cd88d879b6e82b5a970f8cc4d9752738216c611e","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"9aed3d3a_2cd93584","line":162,"updated":"2016-02-26 18:44:19.000000000","message":"Links to resources like stevedore http://docs.openstack.org/developer/stevedore/ and a sample from from setup.cfg on nova with two different document types.","commit_id":"0d8028da063a5d668a77444ccbe6e5379229f8c2"},{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"ccc2fa7ab2667290292216314e8df153357856a1","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"9aed3d3a_c57aca87","line":162,"in_reply_to":"9aed3d3a_2cd93584","updated":"2016-02-29 16:12:18.000000000","message":"Added further up, thanks","commit_id":"0d8028da063a5d668a77444ccbe6e5379229f8c2"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"c24fed90388334e71a04d39f5f75697a7b2046c9","unresolved":false,"context_lines":[{"line_number":91,"context_line":"because consumers will generally rely on those being present; a ``name`` field"},{"line_number":92,"context_line":"is highly advisable. If the resource doesn\"t contain these values your"},{"line_number":93,"context_line":"``serialize`` function can map to them. In particular, if your resource does"},{"line_number":94,"context_line":"not have a native ``id`` value, you must override ``get_document_id_field`` to"},{"line_number":95,"context_line":"so that the indexing code can retrieve the correct value when indexing."},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"It is worth understanding how Elasticsearch indexes various field types,"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7af24918_84c158e7","line":94,"updated":"2016-03-02 00:04:56.000000000","message":"to at end of line not necessary.","commit_id":"48bc6345bcc1d81795fb1ea74027ec538cd5077e"}],"doc/source/index.rst":[{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"c24fed90388334e71a04d39f5f75697a7b2046c9","unresolved":false,"context_lines":[{"line_number":47,"context_line":".. toctree::"},{"line_number":48,"context_line":"   :maxdepth: 1"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"   feature-requests-bugs"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"Overview"},{"line_number":53,"context_line":"--------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7af24918_e4449c75","line":50,"updated":"2016-03-02 00:04:56.000000000","message":"I think you could link to the new documentation here as well.","commit_id":"48bc6345bcc1d81795fb1ea74027ec538cd5077e"}]}
