2017 © Pedro Peláez
 

typo3-cms-extension search-algolia

TYPO3 indexer for Algolia Search Engine

image

martinhummer/search-algolia

TYPO3 indexer for Algolia Search Engine

  • Wednesday, June 20, 2018
  • by martinhummer
  • Repository
  • 2 Watchers
  • 1 Stars
  • 29 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Algolia Search Indexer for TYPO3 8LTS

This Extension depends on Codappix/search_core, (*1)

Known Bugs - Translation Handling

Indexing of records works fine until it comes to pages_language_overlay. This should be obsolete with TYPO3 9, (*2)

Delete & Update does not work for this indexer and i suggest to use a cron job to reindex this table: typo3cms index:delete pages_language_overlay typo3cms index:index pages_language_overlay, (*3)

Testing the extension

Test Setup

The first thing you need to do is to go to your extension directory and "tell" composer to set up the testing environment for a TYPO3 version you want to test against. For that, type composer install, (*4)

Environment Variables

Algolia credentials are taken from environment variables which are located at: /Tests/Functional/.env.example Update this file with your credentials and rename it to /Tests/Functional/.env, (*5)

Unit Tests

You can now execute the unit tests of your extension simply by calling phpunit with the following command::, (*6)

TYPO3_PATH_WEB=$PWD/.Build/Web \
\
.Build/bin/phpunit --colors -c \
  .Build/vendor/typo3/cms/typo3/sysext/core/Build/UnitTests.xml \
  Tests/Unit

Functional Tests

You can execute the functional tests of your extension simply by calling phpunit with the following command::, (*7)

typo3DatabaseName="yourDatabaseName" \
typo3DatabaseUsername="yourUsername" \
typo3DatabasePassword="yourPassword" \
typo3DatabaseHost="localhost" \
TYPO3_PATH_WEB=.Build/web \
.Build/bin/phpunit -v -c Tests/Functional/FunctionalTests.xml

Please note, that you need to specify a database user, that is allowed to create and delete databases for that to work. You can specify an arbitrary database name, it is only used to derive the test database names from., (*8)

The Versions

20/06 2018

dev-master

9999999-dev

TYPO3 indexer for Algolia Search Engine

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

by Martin Hummer

search typo3 algolia indexer