first commit

This commit is contained in:
Sven Wappler
2021-04-17 21:20:54 +02:00
parent c93ec9492a
commit cadcc8edb4
406 changed files with 4917 additions and 5157 deletions

View File

@@ -107,7 +107,7 @@ class ExtensionConfiguration
*/
public function getIsAllowLegacySiteModeEnabled(): bool
{
trigger_error('solr:deprecation: Method getIsAllowLegacySiteModeEnabled is deprecated since EXT:meilisearch 11 and will be removed in 12. Since EXT:meilisearch 10 legacy site handling is deprecated and was removed in EXT:meilisearch 11.', E_USER_DEPRECATED);
trigger_error('meilisearch:deprecation: Method getIsAllowLegacySiteModeEnabled is deprecated since EXT:meilisearch 11 and will be removed in 12. Since EXT:meilisearch 10 legacy site handling is deprecated and was removed in EXT:meilisearch 11.', E_USER_DEPRECATED);
//@todo throw exception if set to true and log deprecation
$legacyModeIsActive = $this->getConfigurationOrDefaultValue('allowLegacySiteMode', false);

View File

@@ -119,7 +119,7 @@ class TypoScriptConfiguration
* In the context of an frontend content element the path plugin.tx_meilisearch is
* merged recursive with overrule with the content element specific typoscript
* settings, like plugin.tx_meilisearch_PiResults_Results, and possible flex form settings
* (depends on the solr plugin).
* (depends on the meilisearch plugin).
*
* Example: plugin.tx_meilisearch.search.targetPage
* returns $GLOBALS['TSFE']->tmpl->setup['plugin.']['tx_meilisearch.']['search.']['targetPage']
@@ -161,7 +161,7 @@ class TypoScriptConfiguration
* In the context of an frontend content element the path plugin.tx_meilisearch is
* merged recursive with overrule with the content element specific typoscript
* settings, like plugin.tx_meilisearch_PiResults_Results, and possible flex form settings
* (depends on the solr plugin).
* (depends on the meilisearch plugin).
*
* Example: plugin.tx_meilisearch.index.queue.tt_news.fields.content
* returns $GLOBALS['TSFE']->tmpl->setup['plugin.']['tx_meilisearch.']['index.']['queue.']['tt_news.']['fields.']['content.']
@@ -236,7 +236,7 @@ class TypoScriptConfiguration
* @param bool $enableUnsetFeature If set, special values "__UNSET" can be used in the overrule array in order to unset array keys in the original array.
* @return TypoScriptConfiguration
*/
public function mergeSolrConfiguration(array $configurationToMerge, $addKeys = true, $includeEmptyValues = true, $enableUnsetFeature = true)
public function mergeMeilisearchConfiguration(array $configurationToMerge, $addKeys = true, $includeEmptyValues = true, $enableUnsetFeature = true)
{
$data = $this->configurationAccess->getData();
ArrayUtility::mergeRecursiveWithOverrule(
@@ -253,7 +253,7 @@ class TypoScriptConfiguration
}
/**
* Returns true when ext_solr is enabled
* Returns true when ext_meilisearch is enabled
*
* @param boolean $defaultIfEmpty
* @return boolean
@@ -280,7 +280,7 @@ class TypoScriptConfiguration
}
/**
* Returns all solr fields names where a mapping is configured in index.additionalFields
* Returns all meilisearch fields names where a mapping is configured in index.additionalFields
*
* Returns all keys from
* plugin.tx_meilisearch.index.additionalFields.
@@ -483,7 +483,7 @@ class TypoScriptConfiguration
}
/**
* Returns all solr fields names where a mapping configuration is set for a certain index configuration
* Returns all meilisearch fields names where a mapping configuration is set for a certain index configuration
*
* Returns all keys from
* plugin.tx_meilisearch.index.queue.<configurationName>.fields.
@@ -2046,11 +2046,11 @@ class TypoScriptConfiguration
}
/**
* Controls whether ext-solr will send commits to solr.
* Controls whether ext-meilisearch will send commits to meilisearch.
* Beware: If you disable this, you need to ensure
* that some other mechanism will commit your changes
* otherwise they will never be searchable.
* A good way to achieve this is enabling the solr
* A good way to achieve this is enabling the meilisearch
* daemons autoCommit feature.
*
* plugin.tx_meilisearch.index.enableCommits