Elasticsearch full _source

Mike Fara

Active member
Is it possible to turn on the full source for Elasticsearch Enhanced Search? While I understand this may not actually be used by the product I am looking into using it for some other purpose to get data from the forum (besides SQL).
 
I was able to answer my own question... it appears I may be the only one interested, but you would need to go into src/addons/XFES/Service/Optimizer.php and change:

Code:
        protected function getBaseMapping()
        {
                $mapping = [
                        '_source' => ['enabled' => false],

to
Code:
                        '_source' => ['enabled' => true],
 
Back
Top Bottom