StevenB on Nostr: Yep, that's all an Index is doing. And yes, it could search relays instead of the ...
Yep, that's all an Index is doing.
And yes, it could search relays instead of the index server. It needs to know which relays to search. It's not highly efficient. I search across 100 relays, I may get 100 results back, and I have to parse through all those results, combine them, and remove any duplicates. It's all doable, but it introduces another set of problems.
Published at
2025-02-18 15:27:33Event JSON
{
"id": "11a48ace7a0a709f23662f34d24c1244ff0a7ea48af8ba76e68e0afa3b2c80a4",
"pubkey": "23103189356cf7c8bc09bb8b431fc3e71e85582c8f755b9ee160203c9c19e403",
"created_at": 1739892453,
"kind": 1,
"tags": [
[
"e",
"95e15bda61fc6856171b303cf850c5ad9c6d76dd5a8eaf0699763af03fc402a7",
"",
"root"
],
[
"e",
"6219848ae57d176f1455fd998774ab947262eb5e32e57d4f7638674200d1dbc8",
"wss://nos.lol/",
"reply",
"8e27ffb5c9bb8cdd0131ade6efa49d56d401b5424d9fdf9a63e074d527b0715c"
],
[
"p",
"23103189356cf7c8bc09bb8b431fc3e71e85582c8f755b9ee160203c9c19e403"
],
[
"p",
"8e27ffb5c9bb8cdd0131ade6efa49d56d401b5424d9fdf9a63e074d527b0715c"
]
],
"content": "Yep, that's all an Index is doing.\n\nAnd yes, it could search relays instead of the index server. It needs to know which relays to search. It's not highly efficient. I search across 100 relays, I may get 100 results back, and I have to parse through all those results, combine them, and remove any duplicates. It's all doable, but it introduces another set of problems. ",
"sig": "9e88ab5bc2edf33465d22754c9257c6af441d49544bdb160b5eafb2cad7b6f8167de23a0e5cc9c3f814e084927faf2396645567c6e2e6028a4e17d0925020393"
}