diff --git a/docs/guide/defining-documents.rst b/docs/guide/defining-documents.rst index 06666022..62cbcd67 100644 --- a/docs/guide/defining-documents.rst +++ b/docs/guide/defining-documents.rst @@ -529,7 +529,7 @@ There are a few top level defaults for all indexes that can be set:: title = StringField() rating = StringField() meta = { - 'index_options': {}, + 'index_opts': {}, 'index_background': True, 'index_cls': False, 'auto_create_index': True, @@ -537,8 +537,8 @@ There are a few top level defaults for all indexes that can be set:: } -:attr:`index_options` (Optional) - Set any default index options - see the `full options list `_ +:attr:`index_opts` (Optional) + Set any default index options - see the `full options list `_ :attr:`index_background` (Optional) Set the default value for if an index should be indexed in the background