![]() ![]() You can, however, use the input option to provide multiple matches. if you have a movie named "Harry Potter and the Goblet of Fire" and you type in "goblet of fire", it won't return the document as a match. So, it won't be able to match in the middle of the input like n-gram based approaches. As discussed above, it preserves the order of input in FST. In case of completion suggester, ES matches the documents one character at a time starting from the first character, moving ahead one position as a new character is typed in. This can be avoided by using skip_duplicates option. "Goblet of Fire" is returned twice in suggestions as we had provided this text as input in both the documents. This is a hook handler interface, see docs/Hooks.Enter fullscreen mode Exit fullscreen mode ► C CirrusSearch\Hooks\CirrusSearchSimilarit圜onfigHook ► C CirrusSearch\Hooks\CirrusSearchScoreBuilderHookĪ simple wrapper for MediaWikiServices, to support type safety when accessing services defined by this extension Helper class to build Arra圜irrusSearchResult instances ► C CirrusSearch\Hooks\CirrusSearchRegisterFullTextQuer圜lassifiersHookĬ CirrusSearch\Search\CirrusSearchResultBuilder ► C CirrusSearch\Hooks\CirrusSearchProfileServiceHook ► C CirrusSearch\Hooks\CirrusSearchMappingConfigHook ► C CirrusSearch\Hooks\CirrusSearchAnalysisConfigHookĬ CirrusSearch\Search\CirrusSearchIndexFieldFactoryĬreate different types of SearchIndexFields This is a hook handler interface, see docs/Hooks.md in core ► C CirrusSearch\Hooks\CirrusSearchAddQueryFeaturesHook Splits maintenance scripts into chunks and prints out the commands to run the chunksĬirrus debug options generally set via unofficial URI param (&cirrusXYZ=ZYX) Orchestrate the process of building an elasticsearch document out of a WikiPageĬhecks if a WikiPage's representation in search index is sane Matches "prefer-recent:" and then an optional floating point number = 0 (decay portion) and then an optional comma followed by another floating point number >0 0 (half life)Ĭ CirrusSearch\BuildDocument\BuildDocument ![]() ![]() Handles the boost-templates keyword in full text search ► C CirrusSearch\Query\BoostFunctionFeatureĬ CirrusSearch\Query\BoostTemplatesFeature Saturation function based on x/(k+x), k is a parameter to control how fast the function saturatesĬ CirrusSearch\Search\Rescore\ScriptScoreFunctionScoreBuilderĪ function score that builds a script_scoreĬ CirrusSearch\Search\Rescore\TermBoostScoreBuilderĬ CirrusSearch\Search\Rescore\IncomingLinksFunctionScoreBuilderīuilds a function that boosts incoming links formula is log( incoming_links + 2 ) Normalize values in the range Allows to set:Ĭ CirrusSearch\Search\Rescore\NamespacesFunctionScoreBuilderīuilds a set of functions with namespacesĬ CirrusSearch\Search\Rescore\PreferRecentFunctionScoreBuilderīuilds a script score boost documents on the timestamp fieldĬ CirrusSearch\Search\Rescore\SatuFunctionScoreBuilder Simple log(factor*field+2)^impact Useful to control the impact when applied in a multiplicationĬ CirrusSearch\Search\Rescore\LogScaleBoostFunctionScoreBuilder Utility function to compute a weighted geometric meanĬ CirrusSearch\Search\Rescore\LangWeightFunctionScoreBuilderīoosts documents in user language and in wiki language if different Uses getUserLanguage in SearchConfig and LanguageCode for language values and CirrusSearchLanguageWeight for respective weightsĬ CirrusSearch\Search\Rescore\LogMultFunctionScoreBuilder 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Ĭ CirrusSearch\Search\Rescore\BoostTemplatesFunctionScoreBuilderīuilds a set of functions with boosted templates Uses a weight function with a filter for each templateĬ CirrusSearch\Search\Rescore\CustomFieldFunctionScoreBuilderīuilds a function using a custom numeric field and parameters attached to a profileĬ CirrusSearch\Search\Rescore\GeoMeanFunctionScoreBuilder ► C CirrusSearch\Search\Rescore\FunctionScoreBuilder ► C CirrusSearch\Search\Rescore\BoostFunctionBuilderĬ CirrusSearch\Search\Rescore\BoostedQueriesFunctionĬ CirrusSearch\Search\Rescore\ByKeywordTemplateBoostFunction Transforms arrays based on replacement variable using a syntax to lookup the entry to modify ► C CirrusSearch\Maintenance\AnalysisConfigBuilderīuilds elasticsearch analysis config arraysĬ CirrusSearch\Maintenance\SuggesterAnalysisConfigBuilderīuilds elasticsearch analysis config arrays for the completion suggester indexĬ CirrusSearch\Maintenance\AnalysisFilterįilter unused and duplicate entries from elasticsearch index configurationĬ CirrusSearch\Maintenance\AnalyzerBuilderīuilds one elasticsearch analyzer to add to an analysis config array ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |