Skip to content

Releases: acdh-oeaw/arche-lib

Allow passing SearchConfig to getResource*ById*() methods

01 Oct 08:08
Compare
Choose a tag to compare
RepoInterface::getResource*ById*() API changed

The `?string $class` parameter replaced with `?SearchConfig $config` as
in other `getResourcesBy*()` methods. This also allows to specify amount
of metadata fetched by the `getResource*ById*()` calls

Repo::getResourceByIdsAsync(): metadata handling fix

01 Oct 08:02
Compare
Choose a tag to compare

Repo::getResourceByIdsAsync(): remove technical search metadata before passing the meta to the resource

PHP 8.4 deprecation fixes

26 Sep 10:40
Compare
Choose a tag to compare
6.6.3

PHP 8.4 deprecation fixes

Repo::getResourceByIdsAsync(): set resource metadata from search response

25 Sep 22:04
Compare
Choose a tag to compare
Repo::getResourceByIdsAsync(): set resource metadata from search resp…

…onse

SmartSearch performance tuning

14 Sep 12:16
Compare
Choose a tag to compare
SmartSearch::createFiltersTable(): materialize children ids

For some reasons postgresql can not come with sane execution plans when
combining get_children() (even when "with materialized"!) with other
filters. Creating an explicit temporary table helps.

RepoDb searches skip resources which are not active

06 Aug 14:57
Compare
Choose a tag to compare
RepoDb::getPdoStatementBySqlQuery(): adjust the way only active resou…

…rces are included in the search

Repo::begin() returns the transaction id

27 Jun 11:21
Compare
Choose a tag to compare
6.5.0

Repo::begin(): return the transaction id

SmartSearch tuning

03 May 16:05
Compare
Choose a tag to compare

acdhOeaw\arche\lib\SmartSearch major rewrite of the search() method:

  • Search code split into smaller and easier to manage chunks.
  • Named entities linking is now done separately for the FTS and the spatial search with results being joined only afterwords. This allows independent named entity links to FTS and spatial matches.
  • Spatial search extracts geometry to make it easy to narrow down the map facet values to the ones matching the search.
  • The search() method returns false on an empty search and true otherwise.

Fix for PHP 8.3

22 Apr 16:08
Compare
Choose a tag to compare
6.4.3

RepoDb::parseMetadataReadMode(): fix for PHP 8.3

Allow PHP ^8.1

22 Apr 11:51
Compare
Choose a tag to compare
6.4.2

.github/workflows/test.yml: test also on php 8.4