MVP Search Endpoint Implementation #370
Closed
davidgamez
started this conversation in
Decisions
Replies: 1 comment
-
|
I am closing this thread as a solution was selected. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
As part of our API development, we must introduce a search endpoint. This is crucial for enabling users to perform Full-Text Search (FTS) actions on various fields spanning multiple entities. Detailed specifications and requirements can be found in #346.
Solutions
Two primary solutions emerge:
Employing a specialized Full-Text Search service such as Solr or Elasticsearch presents a scalable and efficient approach. These platforms are designed to handle extensive search functionalities across vast datasets.
Pros:
Cons:
Given our current database size (2000+ feeds), it is worth considering whether the immediate benefits justify the resource investment at this stage.
Leveraging the Full-Text Search capabilities inherent to PostgreSQL offers a more straightforward and immediately accessible solution. PostgreSQL's FTS feature is built into the database, eliminating the need for external services and simplifying the implementation process.
Pros:
Cons:
Decision
Given our current database size and infrastructure, beginning with PostgreSQL's Full-Text Search capabilities seems the most pragmatic approach. It offers a balance of efficiency, cost, and ease of implementation suitable for our immediate needs. As our dataset grows and demands more sophisticated search functionalities, we can re-evaluate the necessity of integrating a dedicated Full-Text Search service like Elasticsearch or Solr.
Beta Was this translation helpful? Give feedback.
All reactions