~jcsackett/charmworld/bac-tag-constraints

Viewing all changes in revision 511.1.3.

  • Committer: Reed O'Brien
  • Date: 2014-05-19 23:44:29 UTC
  • mto: This revision was merged to the branch mainline in revision 512.
  • Revision ID: reed@reedobrien.com-20140519234429-ks6y4sjo0hr3ydmc
Add tests for the ngrams es migration.

Hopefully this finally fixes Bug #1314239 satisfactorily.

While working on getting the tests to prove things right I realized that
the mappings in the index creation bit were redundant to the ones in 
ElasticSearchClient.put_mapping. Therefore I removed them.

Previous attempt to deploy failed because there was no migration. Now, the 
migration should run automagically when deployed by the bot.

This commit also captures the old mapping so we can test against it.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: