first commit
This commit is contained in:
@@ -16,7 +16,7 @@ namespace WapplerSystems\Meilisearch\Domain\Search\ResultSet\Facets\RangeBased;
|
||||
|
||||
use WapplerSystems\Meilisearch\Domain\Search\ResultSet\Facets\AbstractFacetParser;
|
||||
use WapplerSystems\Meilisearch\Domain\Search\ResultSet\SearchResultSet;
|
||||
use WapplerSystems\Meilisearch\System\Solr\ParsingUtil;
|
||||
use WapplerSystems\Meilisearch\System\Meilisearch\ParsingUtil;
|
||||
|
||||
/**
|
||||
* Class AbstractRangeFacetParser
|
||||
|
@@ -103,7 +103,7 @@ class DateRange extends AbstractRangeFacetItem
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves the end date that was received from solr for this facet.
|
||||
* Retrieves the end date that was received from meilisearch for this facet.
|
||||
*
|
||||
* @return \DateTime
|
||||
*/
|
||||
@@ -113,7 +113,7 @@ class DateRange extends AbstractRangeFacetItem
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves the start date that was received from solr for this facet.
|
||||
* Retrieves the start date that was received from meilisearch for this facet.
|
||||
*
|
||||
* @return \DateTime
|
||||
*/
|
||||
|
@@ -30,7 +30,7 @@ use WapplerSystems\Meilisearch\System\DateTime\FormatService;
|
||||
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
||||
|
||||
/**
|
||||
* Parser to build solr range queries from tx_meilisearch[filter]
|
||||
* Parser to build meilisearch range queries from tx_meilisearch[filter]
|
||||
*
|
||||
* @author Markus Goldbach <markus.goldbach@dkd.de>
|
||||
*/
|
||||
@@ -45,12 +45,12 @@ class DateRangeUrlDecoder implements FacetUrlDecoderInterface
|
||||
const DELIMITER = '-';
|
||||
|
||||
/**
|
||||
* Parses the given date range from a GET parameter and returns a Solr
|
||||
* Parses the given date range from a GET parameter and returns a Meilisearch
|
||||
* date range filter.
|
||||
*
|
||||
* @param string $dateRange The range filter query string from the query URL
|
||||
* @param array $configuration Facet configuration
|
||||
* @return string Lucene query language filter to be used for querying Solr
|
||||
* @return string Lucene query language filter to be used for querying Meilisearch
|
||||
*/
|
||||
public function decode($dateRange, array $configuration = [])
|
||||
{
|
||||
|
@@ -102,7 +102,7 @@ class NumericRange extends AbstractRangeFacetItem
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves the end date that was received from solr for this facet.
|
||||
* Retrieves the end date that was received from meilisearch for this facet.
|
||||
*
|
||||
* @return float
|
||||
*/
|
||||
@@ -112,7 +112,7 @@ class NumericRange extends AbstractRangeFacetItem
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves the start date that was received from solr for this facet.
|
||||
* Retrieves the start date that was received from meilisearch for this facet.
|
||||
*
|
||||
* @return float
|
||||
*/
|
||||
|
@@ -29,7 +29,7 @@ namespace WapplerSystems\Meilisearch\Domain\Search\ResultSet\Facets\RangeBased\N
|
||||
use WapplerSystems\Meilisearch\Domain\Search\ResultSet\Facets\FacetUrlDecoderInterface;
|
||||
|
||||
/**
|
||||
* Parser to build Solr range queries from tx_meilisearch[filter]
|
||||
* Parser to build Meilisearch range queries from tx_meilisearch[filter]
|
||||
*
|
||||
* @author Markus Goldbach <markus.goldbach@dkd.de>
|
||||
* @author Ingo Renner <ingo@typo3.org>
|
||||
@@ -46,12 +46,12 @@ class NumericRangeUrlDecoder implements FacetUrlDecoderInterface
|
||||
const DELIMITER = '-';
|
||||
|
||||
/**
|
||||
* Parses the given range from a GET parameter and returns a Solr range
|
||||
* Parses the given range from a GET parameter and returns a Meilisearch range
|
||||
* filter.
|
||||
*
|
||||
* @param string $range The range filter from the URL.
|
||||
* @param array $configuration Facet configuration
|
||||
* @return string Lucene query language filter to be used for querying Solr
|
||||
* @return string Lucene query language filter to be used for querying Meilisearch
|
||||
* @throws \InvalidArgumentException
|
||||
*/
|
||||
public function decode($range, array $configuration = [])
|
||||
|
Reference in New Issue
Block a user