HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
alexandria-org
alexandria
C++2022–2022
alexandria-org / alexandria

alexandria

Full text search engine powering Alexandria.org - the open search engine.

2Distinct people
2Mentions
0Explicit recommenders
198GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Full text search engine powering Alexandria.org - the open search engine.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour2 dated mentions

Observed mentions: 2022-03-18 21:13:49 UTC to 2022-03-18 21:38:58 UTC.

0122022-03-18 21:00:00 UTC to 2022-03-18 22:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 commentsMar 18, 21:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC. One observed period does not establish a trend.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Mar 18, 21:002022-03-18 21:00:00 UTC2022-03-18 22:00:00 UTC202

What Hacker News says

2 sources
Yes it would be impossible to keep the index in RAM. >> It's hard for me to see how that could be done much faster unless you find a way to parallelize the process We actually parallelize the process. We do it by separating the URLs to three different servers and indexing them separately. Then we just make the searches on all three servers and merges the result URLs. >> I haven't read your code yet, obviously, but could you give us a hint as to what kind of data structure you use for indexing? It is not very complicated, we use hashes a lot to simplify things. The index is basically a really large hash table with the word_hash -> [list of url hashes] Then if you search for "The lazy fox" we just take the intersection between the three lists of url hashes to get all the urls which have all words in them. This is the basic idea that is impl
Read the rest
emented right now but we will of course try to improve. details are here: https://github.com/alexandria-org/alexandria/blob/main/src/i...
In Alexandria Search

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.