SmartSearch tuning
acdhOeaw\arche\lib\SmartSearch changes:
- Default weight value can be specified per facet (with a
defaultWeightproperty) - The
search()method accepts additionalint $matchesLimit = 10000parameter 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.