septum VS rum

Compare septum vs rum and see what are their differences.

septum

Context-based code search tool (by pyjarrett)

rum

RUM access method - inverted index with additional information in posting lists (by postgrespro)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
septum rum
15 11
368 693
- 0.7%
6.4 4.0
about 2 months ago 4 months ago
Ada C
Apache License 2.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

septum

Posts with mentions or reviews of septum. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-10.
  • Code Search Is Hard
    13 projects | news.ycombinator.com | 10 Apr 2024
    https://github.com/pyjarrett/septum

    The hardest part about getting code search right imo is grabbing the right amount of surrounding context, which septum is aimed at solving on a per-file basis.

    Another one I'm surprised hasn't been mentioned is stack-graphs (https://github.com/github/stack-graphs), which tries to incrementally resolve symbolic relationships across the whole codebase. It powers github's cross-file precise indexing and conceptually makes a lot of sense, though I've struggled to get the open source version to work

  • Getting up to speed on a c++ codebase
    3 projects | /r/cpp | 6 Oct 2022
    septum - interactive searching for contexts matching and excluding parameters
  • Getting Ada into the mainstream (Dec 1990 edition ^^)
    1 project | /r/ada | 29 Apr 2022
    I do a lot of weird and experimental work in Ada. Some of it works, whereas a lot of it doesn't. While I have done this sort of work in Python, Ruby, Rust, C or C++ in the past, when I do it in Ada, I end up saving time later on since the language forces many "good practices."
  • Septum 0.0.7 released (experimental Mac support)
    1 project | /r/ada | 23 Apr 2022
    I'd appreciate any issues or suggestions you want to report on GitHub to help me improve this.
  • Septum: Context-based code search tool
    1 project | news.ycombinator.com | 17 Apr 2022
  • Zig self hosted compiler is now capable of building itself
    17 projects | news.ycombinator.com | 16 Apr 2022
    Ada is another option without a GC. I wrote a search tool for large codebases with it (https://github.com/pyjarrett/septum), and the easy multitasking and pinning to CPUs allows you to easily go wide if the problem you're solving supports it.

    There's very little allocation since it supports returning VLAs (like strings) from functions via a secondary stack. Its Alire tool does the toolchain install and provides package management, so trying the language out is super easy. I've done a few bindings to things in C with it, which is ridiculously easy.

  • April 2022 What Are You Working On?
    14 projects | /r/ada | 31 Mar 2022
    I mentioned my project Septum in a HackerNews comment, which caused it to pick up over 200 GitHub stars. That seemed to give Ada some publicity since it's a general purpose tool, so I'll also publish a new up-to-date version (0.0.6) here soon.
  • Ask HN: How do you search large code-base before adding a feature or fixing bug?
    5 projects | news.ycombinator.com | 27 Mar 2022
    I work on code bases with millions of lines, so I wrote a tool called Septum to help me (https://github.com/pyjarrett/septum/). This isn't to replace grep or ripgrep or silver searcher, those are all great tools you should have!

    Septum is neighborhood based (context-based) search, so you can find contiguous groups of lines which contain specific things, but exclude other things. It's also interactive so you can add/remove filters as needed. This makes it useful for those cases where terms change based on their context so you can exclude terms related to the contexts you don't want to keep. It reads .septum/config which contains its normal commands to load directories and settings, so you can have different configs per project you're working on.

  • Ada Crate of the Year: Interactive code search
    2 projects | /r/ada | 17 Mar 2022
    Here's a short demo video of his Septum tool mentioned in the article: https://asciinema.org/a/459292
  • What Did You Work On in 2021?
    15 projects | /r/ada | 30 Dec 2021
    I also did a few things: - Wrote an online e-book about Ada - Septum - context-based source code search for multi-million line codebases (I use this nearly every day at work. It's being submitted as my Ada crate of the year. - dir_iterators - library similar to the incredible walkdir. - project_indicators - library for spinners and progress bars. - trendy_terminal - library for cross-platform terminal setup, VT100 support, and GNU readline-like behavior. - trendy_test - library for simple unit testing, which runs tests in parallel. - Ada Ray Tracer - an Ada port of Ray Tracing in One Weekend. - dirs_to_graphviz - Make graphviz files from directory trees. - rst_tables - a tool to draw RST table outlines.

rum

Posts with mentions or reviews of rum. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-10.
  • Code Search Is Hard
    13 projects | news.ycombinator.com | 10 Apr 2024
    the rum index has worked well for us on roughly 1TB of pdfs. written by postgrespro, same folks who wrote core text search and json indexing. not sure why rum not in core. we have no problems.

       https://github.com/postgrespro/rum
  • Is it worth using Postgres' builtin full-text search or should I go straight to Elastic?
    2 projects | /r/PostgreSQL | 25 Apr 2023
    If you need ranking, and you have the possibility to install PostgreSQL extensions, then you can consider an extension providing RUM indexes: https://github.com/postgrespro/rum. Otherwise, you'll have to use an "external" FTS engine like ElasticSearch.
  • Features I'd Like in PostgreSQL
    14 projects | news.ycombinator.com | 28 Jan 2023
    >Reduce the memory usage of prepared queries

    Yes query plan reuse like every other db, this still blows me away PG replans every time unless you explicitly prepare and that's still per connection.

    Better full-text scoring is one for me that's missing in that list, TF/IDF or BM25 please see: https://github.com/postgrespro/rum

  • Ask HN: Books about full text search
    3 projects | news.ycombinator.com | 24 Nov 2022
    for postgres, i highly recommend the rum index over the core fts. rum is written by postgrespro, who also wrote core fts and json indexing in pg.

        https://github.com/postgrespro/rum
  • Postgres Full Text Search vs. the Rest
    21 projects | news.ycombinator.com | 14 Oct 2022
    My experience with Postgres FTS (did a comparison with Elastic a couple years back), is that filtering works fine and is speedy enough, but ranking crumbles when the resulting set is large.

    If you have a large-ish data set with lots of similar data (4M addresses and location names was the test case), Postgres FTS just doesn't perform.

    There is no index that helps scoring results. You would have to install an extension like RUM index (https://github.com/postgrespro/rum) to improve this, which may or may not be an option (often not if you use managed databases).

    If you want a best of both worlds, one could investigate this extensions (again, often not an option for managed databases): https://github.com/matthewfranglen/postgres-elasticsearch-fd...

    Either way, writing something that indexes your postgres database into elastic/opensearch is a one time investment that usually pays off in the long run.

  • Postgres Full-Text Search: A Search Engine in a Database
    3 projects | news.ycombinator.com | 11 Jul 2022
    Mandatory mention of the RUM extension (https://github.com/postgrespro/rum) if this caught your eye. Lots of tutorials and conference presentations out there showcasing the advantages in terms of ranking, timestamps...
    10 projects | news.ycombinator.com | 27 Jul 2021
    You might be just fine adding an unindexed tsvector column, since you've already filtered down the results.

    The GIN indexes for FTS don't really work in conjunction with other indices, which is why https://github.com/postgrespro/rum exists. Luckily, it sounds like you can use your existing indices to filter and let postgres scan for matches on the tsvector.

  • Postgrespro/rum: RUM access method – inverted index with additional information
    1 project | news.ycombinator.com | 17 Dec 2021
  • Debugging random slow writes in PostgreSQL
    1 project | news.ycombinator.com | 15 May 2021
    We have been bitten by the same behavior. I gave a talk with a friend about this exact topic (diagnosing GIN pending list updates) at PGCon 2019 in Ottawa[1][2].

    What you need to know is that the pending list will be merged with the main b-tree during several operations. Only one of them is so extremely critical for your insert performance - that is during actual insert. Both vacuum and autovacuum (including autovacuum analyze but not direct analyze) will merge the pending list. So frequent autovacuums are the first thing you should tune. Merging on insert happens when you exceed the gin_pending_list_limit. In all cases it is also interesting to know which memory parameter is used to rebuild the index as that inpacts how long it will take: work_mem (when triggered on insert), autovacuum_work_mem (when triggered during autovauum) and maintainance_work_mem (triggered by a call to gin_clean_pending_list()) define how much memory can be used for the rebuild.

    What you can do is:

    - tune the size of the pending list (like you did)

    - make sure vacuum runs frequently

    - if you have a bulk insert heavy workload (ie. nightly imports), drop the index and create it after inserting rows (not always makes sense business wise, depends on your app)

    - disable fastupdate, you pay a higher cost per insert but remove the fluctuctuation when the merge needs to happen

    The first thing was done in the article. However I believe the author still relies on the list being merged on insert. If vacuums were tuned agressively along with the limit (vacuums can be tuned per table). Then the list would be merged out of bound of ongoing inserts.

    I also had the pleasure of speaking with one main authors of GIN indexes (Oleg Bartunov) during the mentioned PGCon. He gave probably the best solution and informed me to "just use RUM indexes". RUM[3] indexes are like GIN indexes, without the pending list and with faster ranking, faster phrase searches and faster timestamp based ordering. It is however out of the main postgresql release so it might be hard to get it running if you don't control the extensions that are loaded to your Postgres instance.

    [1] - wideo https://www.youtube.com/watch?v=Brt41xnMZqo&t=1s

    [2] - slides https://www.pgcon.org/2019/schedule/attachments/541_Let's%20...

    [3] - https://github.com/postgrespro/rum

  • Show HN: Full text search Project Gutenberg (60m paragraphs)
    5 projects | news.ycombinator.com | 24 Jan 2021
    I suggest to have a look at https://github.com/postgrespro/rum if you haven’t yet. It solves the issue of slow ranking in PostgreSQL FTS.

What are some alternatives?

When comparing septum and rum you can also consider the following projects:

liburing-ada - liburing/io_uring bindings for Ada

postgres-elasticsearch-fdw - Postgres to Elastic Search Foreign Data Wrapper

ews - The Embedded Web Server is designed for use in embedded systems with limited resources (eg, no disk). It supports both static (converted from a standard web tree, including graphics and Java class files) and dynamic pages. It is written in GCC Ada.

recoll - recoll with webui in a docker container

hound - Lightning fast code searching made easy

zombodb - Making Postgres and Elasticsearch work together like it's 2023

Ada_GUI - An Ada-oriented GUI

pgvector - Open-source vector similarity search for Postgres

ada-ray-tracer

pg_search - pg_search builds ActiveRecord named scopes that take advantage of PostgreSQL’s full text search

Ada-SPARK-Crate-Of-The-Year

pg_cjk_parser - Postgres CJK Parser pg_cjk_parser is a fts (full text search) parser derived from the default parser in PostgreSQL 11. When a postgres database uses utf-8 encoding, this parser supports all the features of the default parser while splitting CJK (Chinese, Japanese, Korean) characters into 2-gram tokens. If the database's encoding is not utf-8, the parser behaves just like the default parser.