Download the PHP package oat-sa/lib-tao-elasticsearch without Composer
On this page you can find all versions of the php package oat-sa/lib-tao-elasticsearch. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download oat-sa/lib-tao-elasticsearch
More information about oat-sa/lib-tao-elasticsearch
Files in oat-sa/lib-tao-elasticsearch
Package lib-tao-elasticsearch
Short Description Library to search in Tao using Elasticsearch
License GPL-2.0-only
Homepage http://www.taotesting.com
Informations about the package lib-tao-elasticsearch
DEPRECATED
This libary must not be used anymore, since it is tighly coupled with tao extensions and its code is not reusable for other applications.
Please, refer to the Advanced Search extension when implementing elastic search integration related to search in the TAO platform.
lib-tao-elasticsearch
Elastic Search engine
Install:
Cli script based approach
pathToTaoRoot
it's root path of your taohost
it's host of your elasticsearch environment.localhost
by default.port
it's port of your elasticsearch environment.9200
by default.login
it's login for you elasticsearch environment. Optional property.password
it's password for you elasticsearch environment. Optional property.
Seed file based approach
Following section to be included into seed file and describes an engine, connectivity string, service configuration and fallback
For the proper index structure creation on installation stage following may be used,
where indexFiles
contains the absolute path to the declaration, sample provided within this lib (@TODO should be decoupled)
Setting Up:
After this step, you need to fill the index with documents. to do this, you must run:
This script will index all resources on the TAO platform for elastic search.
All versions of lib-tao-elasticsearch with dependencies
oat-sa/tao-core Version >=50.5.0||dev-develop
elasticsearch/elasticsearch Version ~7.0