Adjusting documentation in indexes.py also re: more info in deprecation

This commit is contained in:
Christopher Allan Webber 2011-07-09 16:52:57 -05:00
parent 50bb8fe5e4
commit 7ecb1b0726

View File

@ -45,11 +45,13 @@ REQUIRED READING:
To remove deprecated indexes
----------------------------
Removing deprecated indexes is easier, just do:
Removing deprecated indexes is the same, just move the index into the
deprecated indexes mapping.
INACTIVE_INDEXES = {
'collection_name': [
'deprecated_index_identifier1', 'deprecated_index_identifier2']}
DEPRECATED_INDEXES = {
'collection_name': {
'deprecated_index_identifier1': {
'index': [index_foo_goes_here]}}
... etc.