mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 12:05:29 +00:00
0cf8d7e6a8
That's important in case we need to disambiguate the index, e.g. when multiple copies of the same codebase run on the same environment and server. Example implementation: function getIndexName() { return preg_replace('/[^\w]/i', '-', __FILE__); }