zr

🌩 offline and serverless stackoverflow/man/etc.. search with low memory footprint (by jackdoe)

Zr Alternatives

Similar projects and alternatives to zr

  • proposal-pipeline-operator

    A proposal for adding a useful pipe operator to JavaScript.

  • based.cooking

    A simple culinary website.

  • 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.

    InfluxDB logo
  • Gigablast

    Nov 20 2017 -- A distributed open source search engine and spider/crawler written in C/C++ for Linux on Intel/AMD. From gigablast dot com, which has binaries for download. See the README.md file at the very bottom of this page for instructions.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better zr alternative or higher similarity.

zr reviews and mentions

Posts with mentions or reviews of zr. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-16.
  • ZR – offline and serverless stackoverflow/man/etc. low memory search
    1 project | news.ycombinator.com | 8 Apr 2022
  • A search engine that favors text-heavy sites and punishes modern web design
    4 projects | news.ycombinator.com | 16 Sep 2021
    Amazing!

    I have only one recommendation that might make the search a bit more relevant, e.g when searching for 'linux locking' or 'kernel locking' kind of things.

    Try to upsort things that match near the top of the content, like the top of the man page vs middle vs bottom.

    One easy way to do it without having to store the positions, is to index the ngrams with max(sqrt,8) of their line number, this will cover first 64 lines, you can also use log() or just decide ad hock, top, middle, bottom of the document, so you can use only 3 values.

    e.g. https://www.kernel.org/doc/html/v5.0/kernel-hacking/locking.... would do unreliable_1 guide_1 locking_1 ... then at line 4 kernel_2 locking_2 ... after line 50 ... then_7 ... and after that everything will be _8.

    then just make the query "kernel locking" to "dismax(kernel_1 OR kernel_2 OR kernel_3...) AND dismax(locking_1 OR locking_2 ...) with some tiebreaker of 0.1 or so, you can also say "i want to upsort things on the same line, or few lines apart" by modifying the query a bit.

    It works really well and costs very little in terms of space, i tried it at https://github.com/jackdoe/zr while searching all of stackoverfow/man pages and etc and was pretty surprised by the result.

    This approach is a bit cheaper than storing the positions because positions are (lets say) 4 bytes per term per doc, while this approach has fixed uppre bound cost of 8*4 per document (assuming 4 byte document ids)

Stats

Basic zr repo stats
2
25
0.6
5 months ago

jackdoe/zr is an open source project licensed under BSD 3-clause "New" or "Revised" License which is an OSI approved license.

The primary programming language of zr is Go.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com