File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed
Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 11<?php
2+ /**
3+ * class Statics|Firesphere\ElasticSearch\Helpers\Statics Static helper
4+ *
5+ * @package Firesphere\Elastic\Search
6+ * @author Simon `Firesphere` Erkelens; Marco `Sheepy` Hermo
7+ * @copyright Copyright (c) 2018 - now() Firesphere & Sheepy
8+ */
29
310namespace Firesphere \ElasticSearch \Helpers ;
411
512use Firesphere \SearchBackend \Helpers \Statics as CoreStatics ;
613use SilverStripe \Core \Config \Configurable ;
714
15+ /**
16+ * Class Statics
17+ *
18+ * An extension to the core statics, to get the Elastic specific
19+ * typemap from the core
20+ */
821class Statics extends CoreStatics
922{
1023 use Configurable;
Original file line number Diff line number Diff line change 11<?php
2+ /**
3+ * class ElasticConfigureTask|Firesphere\ElasticSearch\Tasks\ElasticConfigureTask Configure custom mappings in Elastic
4+ *
5+ * @package Firesphere\Elastic\Search
6+ * @author Simon `Firesphere` Erkelens; Marco `Sheepy` Hermo
7+ * @copyright Copyright (c) 2018 - now() Firesphere & Sheepy
8+ */
29
310namespace Firesphere \ElasticSearch \Tasks ;
411
1926use SilverStripe \Dev \BuildTask ;
2027use SilverStripe \ORM \DB ;
2128
29+ /**
30+ * Class ElasticConfigureTask
31+ *
32+ * Used to create field-specific mappings in Elastic. Not explicitly needed for a basic search
33+ * functionality, but does add filter/sort/aggregate features without the performance drawback
34+ */
2235class ElasticConfigureTask extends BuildTask
2336{
2437 use LoggerTrait;
You can’t perform that action at this time.
0 commit comments