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

Upgrade Solr #729

Open
Splines opened this issue Dec 14, 2024 · 4 comments
Open

Upgrade Solr #729

Splines opened this issue Dec 14, 2024 · 4 comments
Labels
dependencies Pull requests that update a dependency file

Comments

@Splines
Copy link
Member

Splines commented Dec 14, 2024

The search engine Solr 8 has reached end of life in October 2024, see here. We should upgrade to version 9 and then soon after to version 10 that is about to be released.

@Splines Splines added the dependencies Pull requests that update a dependency file label Dec 14, 2024
@Splines
Copy link
Member Author

Splines commented Dec 14, 2024

We should also consider the current state of solr: sunspot/sunspot#1043

@fosterfarrell9
Copy link
Collaborator

In view of the state of the Solr gem, we might also consider implementing the search in Postgres/ActiveRecord instead. Search is not one of our features that is heavily used and our data sets are comparatively small, so this might possibly be an option (that would rid us of another dependency).

@Splines
Copy link
Member Author

Splines commented Dec 14, 2024

agree on that 👍 Solr is also started in its own Docker container and Elasticsearch would be too. It is in the end a whole search engine and I don't really think we need this big chunk to give users the possibility to serve basic attributes. On the other hand, such search engines provide some niceties like fuzzy search... Maybe there's some smaller dependencies just for that or even in-built PostgreSQL functions, let's see.

@fosterfarrell9
Copy link
Collaborator

fosterfarrell9 commented Dec 14, 2024

It seems there are ways in PostgreSQL to do fuzzy searches using the pg_trgrm extension, see here. In fact, there is even a Rails gem for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

2 participants