CirrusSearch
Elasticsearch-powered search for MediaWiki
Loading...
Searching...
No Matches
CirrusSearch\Maintenance\SuggesterMappingConfigBuilder Class Reference

Builds elasticsearch mapping configuration arrays for the suggester index. More...

Public Member Functions

 __construct (SearchConfig $config=null)
 
 buildConfig ()
 

Public Attributes

const VERSION = '3.0'
 Version number for the core analysis.
 

Detailed Description

Builds elasticsearch mapping configuration arrays for the suggester index.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html

Constructor & Destructor Documentation

◆ __construct()

CirrusSearch\Maintenance\SuggesterMappingConfigBuilder::__construct ( SearchConfig $config = null)
Parameters
SearchConfig | null$config

Member Function Documentation

◆ buildConfig()

CirrusSearch\Maintenance\SuggesterMappingConfigBuilder::buildConfig ( )
Returns
array

Member Data Documentation

◆ VERSION

const CirrusSearch\Maintenance\SuggesterMappingConfigBuilder::VERSION = '3.0'

Version number for the core analysis.

Increment the major version when the analysis changes in an incompatible way, and change the minor version when it changes but isn't incompatible


The documentation for this class was generated from the following file: