What is Nostr?
stereosteve /
npub19xt…enwn
2023-02-14 01:53:48
in reply to nevent1q…ypat

stereosteve on Nostr: I've been working on adding an ElasticSearch storage backend to the basic relayer. ...

I've been working on adding an ElasticSearch storage backend to the basic relayer.

ATM the indexing is very basic and it just sorts by most recent first.

But my plan is to add some better indexing for different Kinds and add some additional ranking signals. See note here:

https://github.com/stereosteve/relayer/blob/elasticsearch/storage/elasticsearch/elasticsearch.go#L140-L150

My initial use case is for a private or hobby style relay... less worried about the "aggregate all of nostr"... nostr.band is doing a pretty good job with that.

But I also think ElasticSearch is a good backend for the read heavy workload of most relays what with the roaring bitset and document compression and all that. It'd be nice if all relays had decent search and we didn't have to punt to closed source things.
Author Public Key
npub19xty7ul0s23azqw6crf65m8kfx7cer5lhfkw7ff75q32vjafaejsajenwn