Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add live index service #2565

Merged
merged 4 commits into from
Sep 21, 2023
Merged

add live index service #2565

merged 4 commits into from
Sep 21, 2023

Conversation

enoch85
Copy link
Member

@enoch85 enoch85 commented Sep 21, 2023

No description provided.

Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
@@ -169,6 +169,25 @@ nextcloud_occ fulltextsearch:configure '{"search_platform":"OCA\\FullTextSearch_
nextcloud_occ fulltextsearch_elasticsearch:configure "{\"elastic_host\":\"http://elastic:$ELASTIC_USER_PASSWORD@localhost:9200\",\"elastic_index\":\"${NEXTCLOUD_INDEX}\"}"
nextcloud_occ files_fulltextsearch:configure "{\"files_pdf\":\"1\",\"files_office\":\"1\"}"

# Add SystemD service for live indexing
cat << SYSTEMCTL_FTS > "/etc/systemd/system/"$FULLTEXTSEARCH_SERVICE"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [shellcheck] reported by reviewdog 🐶
The mentioned syntax error was in this simple command. SC1009

apps/fulltextsearch.sh Show resolved Hide resolved
Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
@@ -169,6 +169,25 @@ nextcloud_occ fulltextsearch:configure '{"search_platform":"OCA\\FullTextSearch_
nextcloud_occ fulltextsearch_elasticsearch:configure "{\"elastic_host\":\"http://elastic:$ELASTIC_USER_PASSWORD@localhost:9200\",\"elastic_index\":\"${NEXTCLOUD_INDEX}\"}"
nextcloud_occ files_fulltextsearch:configure "{\"files_pdf\":\"1\",\"files_office\":\"1\"}"

# Add SystemD service for live indexing
cat << SYSTEMCTL_FTS > "/etc/systemd/system/"$FULLTEXTSEARCH_SERVICE"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [shellcheck] reported by reviewdog 🐶
The mentioned syntax error was in this simple command. SC1009

@enoch85 enoch85 merged commit 586c140 into master Sep 21, 2023
7 checks passed
@delete-merged-branch delete-merged-branch bot deleted the FTS-service branch September 21, 2023 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant