Skip to content

Commit

Permalink
be sure that everything is setup before indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
enoch85 authored Feb 3, 2021
1 parent 862e95d commit f4e324a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/fulltextsearch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ chown -R www-data:www-data $NC_APPS_PATH
nextcloud_occ fulltextsearch:configure '{"search_platform":"OCA\\FullTextSearch_Elasticsearch\\Platform\\ElasticSearchPlatform"}'
nextcloud_occ fulltextsearch_elasticsearch:configure "{\"elastic_host\":\"http://${INDEX_USER}:${ROREST}@localhost:9200\",\"elastic_index\":\"${INDEX_USER}-index\"}"
nextcloud_occ files_fulltextsearch:configure "{\"files_pdf\":\"1\",\"files_office\":\"1\"}"
# Wait further for cache for index to work
countdown "Waiting for a few seconds before indexing starts..." "10"
if nextcloud_occ fulltextsearch:index < /dev/null
then
msg_box "Full Text Search was successfully installed!"
Expand Down

0 comments on commit f4e324a

Please sign in to comment.