Releases: acdh-oeaw/arche-lib
Releases · acdh-oeaw/arche-lib
SmartSearch tuning
acdhOeaw\arche\lib\SmartSearch::getInitialFacets()
method added
SmartSearch tuning
acdhOeaw\arche\lib\SmartSearch::getInitialFacets()
method added
SmartSearch tuning
acdhOeaw\arche\lib\SmartSearch
changes:
- Default weight value can be specified per facet (with a
defaultWeight
property) - The
search()
method accepts additionalint $matchesLimit = 10000
parameter limiting the number of resources matching the search. The limit is applied after sorting the matches by initial weight so only less relevant matches are skipped. It allows avoiding collecting facet values for unmanageably high number of resources. search()
skips resources for which at least facet weight is 0. This allows to exclude resources having a given facet value from the search.
SmartSearch tuning
acdhOeaw\arche\lib\SmartSearch
changes:
- Default weight value can be specified per facet (with a
defaultWeight
property) - The
search()
method accepts additionalint $matchesLimit = 10000
parameter limiting the number of resources matching the search. The limit is applied after sorting the matches by initial weight so only less relevant matches are skipped. It allows avoiding collecting facet values for unmanageably high number of resources. search()
skips resources for which at least facet weight is 0. This allows to exclude resources having a given facet value from the search.
SmartSearch tuning
acdhOeaw\arche\lib\SmartSearch
tuning:
- Multiple values of the same facet does not increase search match weight (relevance) any more (which was especially unwanted for unweighted facets).
- Performance fixes
SmartSearch tuning
acdhOeaw\arche\lib\SmartSearch
tuning:
- Multiple values of the same facet does not increase search match weight (relevance) any more (which was especially unwanted for unweighted facets).
- Performance fixes
SmartSearch enhancements
\acdhOeaw\arche\lib\SmartSearch::setFallbackOrderBy($property, $asc = true)
method added allowing to specify ordering of resources with the same weight (relevance).
SmartSearch enhancements
\acdhOeaw\arche\lib\SmartSearch::setFallbackOrderBy($property, $asc = true)
method added allowing to specify ordering of resources with the same weight (relevance).