Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free. Learn more →
Top 17 Ruby Search Projects
-
Project mention: Most performant way to build an analytics dashboard from a relational database backend that only stores numeric values, where the data the end-user sees is "categorized" into numeric brackets (e.g. 60-79 = Med, 80-100 = High, etc) | reddit.com/r/rails | 2022-12-11
I run a large scale production application that does something along these lines. If the data needs to be close to real-time, I'd say use `searchkick` + Elasticsearch, and use `searchkick`'s async feature to "stream" the data from your table to the ES index. Your dashboard will then just query from the ES index via searchkick.
-
-
SonarQube
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
-
Let's add Elasticsearch into the mix. To do so, we will need the elasticsearch-model gem. It's an official Elasticsearch gem that integrates nicely with Rails models.
-
The Ruby gem
-
Chewy
-
-
Project mention: For GET requests - When do you create a new endpoint and when would you use a query param for the backend to decide what data to give back? | reddit.com/r/rails | 2022-06-10
I use has_scope and it's typically handled in the index with querystring filters e.g. ?user=1 (or ?users[]=1 if multiple users). I do also add convenience routes for common filters, though, e.g. /users/1/likes.
-
CodiumAI
TestGPT | Generating meaningful tests for busy devs. Get non-trivial tests (and trivial, too!) suggested right inside your IDE, so you can code smart, create more value, and stay confident when you push.
-
Searchlogic
Searchlogic provides object based searching, common named scopes, and other useful tools.
-
pg_search
pg_search builds ActiveRecord named scopes that take advantage of PostgreSQL’s full text search
On the backend, we'll need a few tools. Apart from the classics (ActiveRecord scopes and the pg_search gem), you’ll see how the (yet officially unreleased but production-tested) all_futures gem, built by SR authors, will act as an ideal ephemeral object to temporarily store our filter params and host our search logic. Finally, we’ll use pagy for pagination duties.
-
textacular
Textacular exposes full text search capabilities from PostgreSQL, and allows you to declare full text indexes. Textacular will extend ActiveRecord with named_scope methods making searching easy and fun!
-
Project mention: I need to write a database query language. I have a blank sheet of paper. | reddit.com/r/ProgrammingLanguages | 2022-07-19
-
-
scoped_search
Easily search you ActiveRecord models with a simple query language that converts to SQL.
-
-
-
Project mention: Just released acts_as_nosql, a gem to manage JSON fields as proper database fields | reddit.com/r/rails | 2022-08-09
-
-
InfluxDB
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
Ruby Search related posts
- Looking to create an RSS feed from multiple sources
- The Ultimate Search for Rails - Episode 1
- Most performant way to build an analytics dashboard from a relational database backend that only stores numeric values, where the data the end-user sees is "categorized" into numeric brackets (e.g. 60-79 = Med, 80-100 = High, etc)
- Full-text Search with Elasticsearch in Rails
- How does elasticsearch work with a rails app that's already connected to a MySQL database.
- I need to write a database query language. I have a blank sheet of paper.
- Building a Workflow for Async Searchkick Reindexing
-
A note from our sponsor - SonarQube
www.sonarqube.org | 31 May 2023
Index
What are some of the best open-source Search projects in Ruby? This list will help you:
Project | Stars | |
---|---|---|
1 | Searchkick | 6,196 |
2 | ransack | 5,413 |
3 | Elasticsearch Rails | 3,002 |
4 | elasticsearch-ruby | 1,923 |
5 | chewy | 1,843 |
6 | Thinking Sphinx | 1,620 |
7 | has_scope | 1,608 |
8 | Searchlogic | 1,399 |
9 | pg_search | 1,076 |
10 | textacular | 892 |
11 | SearchCop | 779 |
12 | Mongoid Search | 317 |
13 | scoped_search | 261 |
14 | elastics | 100 |
15 | redi_search | 42 |
16 | fuzzily | 6 |
17 | site-search-ruby | 1 |