Sphinx
elasticsearch-rs
Sphinx | elasticsearch-rs | |
---|---|---|
12 | 2 | |
1,783 | 686 | |
0.1% | 0.7% | |
0.0 | 4.5 | |
5 months ago | 19 days ago | |
C++ | Rust | |
GNU General Public License v3.0 only | Apache License 2.0 |
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.
Sphinx
- Searchcode – search 75B lines of code from 40M projects
-
Revisiting site search + SQLite as a search engine
Sphinx - https://sphinxsearch.com
-
Best 5 Ecommerce Search Engines for Developers
Sphinx is a search engine that can be integrated into a website to provide advanced search functionality such as full-text, Boolean, and faceted search. It is a powerful open-source search engine that can handle large amounts of data and quickly return results.
-
Question about embedding for search vs clustering applications
Have been using Sphinx. It does some processing around suffixes, tenses, and so on, and looks at word proximity (BM25), but is definitely limited.
-
grep like search with preprocessing
Lucene is the thing you think you need. Elastic Search is a nice wrapper for it. But these are Java, so maybe you want Sphinx Search (C++) or MeiliSearch (Rust).
-
Search MySQL table for multiple keywords and return number of occurrences for each keyword per row
Using a natural language search will almost certainly be a better solution and PHP may not be the best tool for this task. Figure out how you are going to get the text out of the PDF and where you are going to put it. Look at things like sphinx and full text search in boolean mode for doing the keyword matching.
-
How to do a Scryfall-like search?
In practice though you don't do any of this, you get a library to do it for you. I've used Sphinx Search in the past for some fairly hefty (In the order of terabytes), and there's a good book covering how to get it all set up and started.
-
Manticore: a faster alternative to Elasticsearch in C++ with a 21-year history
Five years ago Manticore began as a fork of an open source version of the once popular search engine Sphinx Search. We had two bags of grass, seventy-five pellets of mescaline, three C++ developers, a support engineer, a power user of Sphinx Search / backend team lead, an experienced manager, a mother of five helping us part-time, and a ton of bugs, crashes, and technical debts. So we got a shovel and other digging tools and started working to get it up to the search engine industry standards. Not that Sphinx was impossible to use, but many things were missing, and existing features weren’t quite stable or mature. And we had pushed it about as far as we could. So after 5 years and hundreds of new users, we’re ready to say that Manticore Search can be used as an alternative to Elasticsearch for both full-text search and (now) data analytics too.
-
Remarkable update 2.14
Finally if you really want a full fledged solution the most popular are good old Sphinx http://sphinxsearch.com or Apache Solr https://solr.apache.org but as these take a bit of time to setup I'd make sure that's truly needed. Chances are unless your collection is the size of the Library of Congress you are probably fine with ripgrep on your own indexes as text or some R package or sqlite FTS5 extension https://www.sqlite.org/fts5.html
-
Vinted Search Scaling Chapter 6: 4th generation of Elasticsearch metrics
An old fact from 2014 December 12th was significant for Vinted: the company switched from Sphinx search engine to Elasticsearch 1.4.1. At the time of writing this post, we use Elasticsearch 7.15. Without a doubt, a lot has happened in between. This chapter will focus on Elasticsearch metrics, we will share our accumulated experiences from four generations of collecting metrics.
elasticsearch-rs
-
Vinted Search Scaling Chapter 6: 4th generation of Elasticsearch metrics
The new Elasticsearch exporter is written in the Rust programming language and is open-sourced on GitHub: github.com/vinted/elasticsearch-exporter-rs. The exporter uses asynchronous Tokio runtime, Rust Prometheus instrumentation library and the official Elasticsearch client library. Metrics collection is decoupled from the serving /metrics endpoint. In addition, Elasticsearch time-based metrics in milliseconds are converted into seconds to comply with Prometheus best practices (metrics ending in “millis” are replaced by “seconds”, “_bytes” and “_seconds” and postfixes are added where appropriate).
- AWS developer submitted PR to rename Elasticsearch to OpenSearch to ES-rs repo
What are some alternatives?
rust-prometheus - Prometheus instrumentation library for Rust applications
Toshi - A full-text search engine in rust
manticoresearch - Easy to use open source fast database for search | Good alternative to Elasticsearch now | Drop-in replacement for E in the ELK soon
parity-ethereum - The fast, light, and robust client for Ethereum-like networks. [Moved to: https://github.com/openethereum/parity-ethereum]
remarkable-hacks - additional functionality via binary patching
cdrs - Cassandra DB native client written in Rust language. Find 1.x versions on https://github.com/AlexPikalov/cdrs/tree/v.1.x Looking for an async version? - Check WIP https://github.com/AlexPikalov/cdrs-async
tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
elasticsearch-exporter-rs - Proper Elasticsearch exporter
podman-api-rs - Rust interface to Podman (libpod).
prometheus - The Prometheus monitoring system and time series database.