Commit Graph

11 Commits

Author SHA1 Message Date
Mojmir Fendek 16fc54e101
Index now supports multiple relations with the same name. 2017-06-21 13:13:33 +01:00
Ingo Schommer b7f4c1e5f8
Test for ambiguous relationships
See https://github.com/silverstripe/silverstripe-fulltextsearch/pull/145
2017-06-21 13:09:31 +01:00
Damian Mooyman ec5e4f4581 BUG Fix versioned writes where subtables have no fields key
BUG Remove unnecessary config nesting in tests which are now handled via core
Fixes some regressions in recent framework fixes to versioned
2016-04-15 15:46:19 +12:00
helpfulrobot 314feddd48 Converted to PSR-2 2015-11-21 19:19:20 +13:00
Sean Harvey e22d6053e5 Adding tests for SearchIndex::fieldData() 2014-08-21 16:58:59 +12:00
Sam Minnee 4b51393e01 Don't rely on MySQL ordering of index->getAdded()
MySQL is more reliable in its output ordering of elements where the order doesn't matter.
PostgreSQL is not.  This meant that this test "accidentally passed" on MySQL and failed on
PostgreSQL.  The sort function resolves this.
2014-02-14 11:32:24 +13:00
Hamish Friedlander 03a206109a Make tests run 2013-09-11 14:35:01 +12:00
Hamish Friedlander dbd68dc300 API Move SearchUpdate queue handling to DIed processor, add QueuedJob support 2013-07-25 14:28:10 +12:00
Ingo Schommer 2c7d6d0ab8 BUG Only index date fields with values
Otherwise the values end up being the start of epoch (1970-01-01)
by default, which can throw off search filters. See README additions for details.
2012-08-29 21:00:40 +02:00
Hamish Friedlander 4766794cea BUG Tests need to call bind_manipulation_capture manually 2012-07-19 17:08:07 +12:00
Hamish Friedlander 17be5a3e63 Import first version of fulltextsearch module 2011-05-02 16:33:05 +12:00