Closed jnweiger closed 2 years ago
occ search:index:update
adds (circa?) one error message per indexable file.Example of an error message in the log:
{
"Exception": "ElasticaExceptionResponseException",
"Message": "unable to authenticate user [elasticxx] for REST request [/oc-ocfa7cgsd87h/_search]",
"Code": 0,
"Trace": "#0 /var/www/owncloud/apps-external/search_elastic/vendor/ruflin/elastica/src/Request.php(178): ElasticaTransportHttp->exec()n#1 /var/www/owncloud/apps-external/search_elastic/vendor/ruflin/elastica/src/Client.php(513): ElasticaRequest->send()n#2 /var/www/owncloud/apps-external/search_elastic/vendor/ruflin/elastica/src/Search.php(278): ElasticaClient->request()n#3 /var/www/owncloud/apps-external/search_elastic/lib/SearchElasticService.php(205): ElasticaSearch->search()n#4 /var/www/owncloud/apps-external/search_elastic/lib/Search/ElasticSearchProvider.php(198): OCASearch_ElasticSearchElasticService->search()n#5 /var/www/owncloud/apps-external/search_elastic/lib/Search/ElasticSearchProvider.php(103): OCASearch_ElasticSearchElasticSearchProvider->fetchResults()n#6 /var/www/owncloud/lib/private/Search.php(67): OCASearch_ElasticSearchElasticSearchProvider->searchPaged()n#7 /var/www/owncloud/core/search/ajax/search.php(56): OCSearch->searchPaged()n#8 /var/www/owncloud/lib/private/Route/Route.php(155): require_once('/var/www/ownclo...')n#9 /var/www/owncloud/lib/private/Route/Router.php(344): OCRouteRoute->OCRoute{closure}(*** sensitive parameters replaced ***)n#10 /var/www/owncloud/lib/base.php(927): OCRouteRouter->match()n#11 /var/www/owncloud/index.php(54): OC::handleRequest()n#12 {main}",
"File": "/var/www/owncloud/apps-external/search_elastic/vendor/ruflin/elastica/src/Transport/Http.php",
"Line": 178
}
Release done. testplan template updated.
'Full Search' Test Plan
setup
hetzner_deploy/oc10.sh search_elastic
Testing functionality
occ search:index:update
before testing the result.occ search:index:update
only updates the index for users, who have edited something.TODO:
occ search:index:reset; occ search:index:rebuild;
- edit a text file in web ui -occ search:index:update
occ app:enable search_elastic
occ app:disable search_elastic
occ search:index:create
occ search:index:rebuild
occ search:index:reset
occ search:index:update
config:app:set search_elastic group --value groupname
config:app:set search_elastic group --value guest_app
nocontent
totrue
(default isfalse
):config:app:set search_elastic nocontent --value true
New test items since 2.1.0
occ config:app:set search_elastic scanExternalStorages --value 0
disables indexing of external storages. (1 enables)