Skip to content

Releases: acdh-oeaw/arche-lib

Minor enhancements

26 Jul 19:36
Compare
Choose a tag to compare
5.5.2

Config and Schema @property doscstrings added

Minor enhancements

11 May 13:43
Compare
Choose a tag to compare

acdhOeaw\arche\lib\SmartSearch::getSearchFacets():

  • Allows limiting the range of the computed distribution
  • Reports global and per-bin lower and upper bound in dedicated properties

SmartSearch class added

10 May 15:34
Compare
Choose a tag to compare

The acdhOeaw\arche\lib\SmartSearch class provides a flexible API for a full text search.

Tune the relativesProperties metadata retrieval

02 Mar 10:20
Compare
Choose a tag to compare

The SearchConfig::$relativesProperties filter isn't applied to relation properties reverse-pointing to resources matching the search or the requested resource. This allows the most common scenario like give me only a title and the linking property of all resources reverse-pointing to the ones matching the search without specifying the list of all all allowed linking properties in the SearchConfig::$relativesProperties.

Bugfixes

14 Feb 21:06
Compare
Choose a tag to compare

acdhOeaw\arche\lib\Repo::sendRequestAsync() captures all kinds of Guzzle exceptions now.

Bugfixes

30 Nov 17:02
Compare
Choose a tag to compare

RepoDb::getOrderByQuery() order orderBy[] parameters by key value so it's easy to establish relation between requests orderBy[] and response's {repoCfg}$.schema.searchOrderValue + {N} RDF properties.

Bugfixes

30 Nov 14:16
Compare
Choose a tag to compare

RepoDb::getOrderByQuery(): harden against non-numeric searchConfig::$orderBy keys

Add support for collations in search ordering

30 Nov 13:23
Compare
Choose a tag to compare
  • acdhOeaw\arche\lib\SearchTerm::$orderByCollation property has been added allowing to specify the collation to be used for ordering search results.
  • acdhOeaw\arche\lib\RepoDb::getOrderByQuery() adjusted to make use of the acdhOeaw\arche\lib\SearchTerm::$orderByCollation property.

SearchTerm: allow property negation

12 Sep 15:57
Compare
Choose a tag to compare

acdhOeaw\arche\lib\SearchTerm - allow property to be negated by prepending it with a acdhOeaw\arche\lib\SearchTerm::PROPERTY_NEGATE. When negated, the rdfs:resource search term type is enforced and the search term value is evaluated against the triple subject resource instead of the object resource. A canonical use case would be a search for a parent of a given resource.

Bugfixes

23 Aug 20:11
Compare
Choose a tag to compare

acdhOeaw\arche\lib\RepoDb::getPdoStatementBySqlQuery() fix the sql query when exactly one of $searchConfig->resourceProperties and $searchConfig->relativesProperties is set.