Add DEFAULTSORT to search index field data
authordcausse <dcausse@wikimedia.org>
Mon, 29 Aug 2016 14:30:43 +0000 (16:30 +0200)
committerdcausse <dcausse@wikimedia.org>
Mon, 29 Aug 2016 14:51:57 +0000 (16:51 +0200)
commit7c09f09432690c97441d5c70c3ea652ac74f0802
tree7c540d6cc99312a31b9e8e33afaf5bcf50ef3a4a
parent4679875dcdf0b57afdba7b28409a0b220e68064c
Add DEFAULTSORT to search index field data

Added FLAG_SOURCE_DATA to support additional data that is not supposed to be
part of the default mapping.

Should merged with I1484c2e62788bedb57a42869a5fb25cd8f64482f, otherwize rebuilding
an index may add an extra field to CirrusSearch mapping.

Bug: T134978
Change-Id: Ia41f8eeb9dd4f764543bdd4d71b7a50de8101101
includes/content/WikiTextStructure.php
includes/content/WikitextContentHandler.php
includes/search/SearchIndexField.php
tests/phpunit/includes/content/WikitextStructureTest.php