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

Improvements for sphinx in dev-setup #51

Closed
3 tasks
mtnstar opened this issue Oct 30, 2023 · 0 comments
Closed
3 tasks

Improvements for sphinx in dev-setup #51

mtnstar opened this issue Oct 30, 2023 · 0 comments
Assignees

Comments

@mtnstar
Copy link
Contributor

mtnstar commented Oct 30, 2023

Activate Sphinx in dev-setup

currently sphinx is started as container, but search does not use sphinx since the env variable RAILS_SPHINX_PORT is not set by default. Setting RAILS_SPHINX_PORT=9312 in docker/rails.env activates it and it works.

Generate sphinx config on startup

currently sphinx is just using a static index config: https://github.com/hitobito/development/blob/master/docker/sphinx.conf

so only core attributes are searchable and extended indexes from the wagons are ignored

the goal is to generate the sphinx dynamically on start-up (docker-compose up) with thinking_sphinx gem

ToDo

  • Activate sphinx search in dev setup by default if there's no veto
  • Fix running of sphinx specs Ausführen von sphinx tests #15
  • Use dynamically generated sphinx index conf instead of static one
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

No branches or pull requests

2 participants