may have spent the last 8 hours building a fulltext search engine in nostrdb.

I made the index as space efficient as possible, they keys are stored in a compressed format and map words and word indices to note ids. So when you type “the quick brown fox” it will be able to return results with those exact words in sequence (or not if it can’t find a sequence).

Testing it now 👀. Will release soon ™


From: nostr:npub1p82f73cgrsdqduz2lknznz8ry5ey02xfdsw5aup9m3mpnk7z89pq8qwweu


That was quick - brown fox!


From: nostr:npub1u8lnhlw5usp3t9vmpz60ejpyt649z33hu82wc2hpv6m5xdqmuxhs46turz


nostr loves you, thank you 🙏💜


Is there anything you can't do???


pretty bad at cooking


Thank god for take out and ....


👀
nostr:nevent1qqs0v7yqsnanyd625zc25v75k8fk4xcmqq2dedf7d88cw2chsc750hgpp4mhxue69uhkummn9ekx7mqzyqewrqnkx4zsaweutf739s0cu7et29zrntqs5elw70vlm8zudr3y2qcyqqqqqqg8s408w


Idk what this is and I’m not afraid to ask. What is this?


Anxiety again 🥲


🔥⚡🔥⚡🔥⚡🔥 DAMN dude 🫡


Nbd 🙌


it aint much, but hopefully 10K sats will become worth 8 hours’ of pay someday 💜


so we need an excellent product manager in nostr company👀


We already have one! 😎


Idea: limit the index to, say, the 64000 most used words including plurals and other variations), names (first and last), materials and brands.
So keep typo’s and rare words out of the index, sanitizing the indrx makes  its size much more manageable.
</suggestion>


Your post is creating a buzz.
Added to the https://nostraco.in/hot feed


Case sensitive??


Full text search in 8 hours. Anyone impressed yet? In the last 3 weeks I changed a banner on the home page of the popular website.


oops thanks for reminding me


Say it. The PC police are not here and don’t matter anyways 😉


Tshirt Idea: "Will release soon"


W


🤣
https://youtu.be/mXOTJ-tluUU?si=yYjK36F85HLt0mHb


uhyora


WEEEDSTR


If you’re looking for a quick and dirty way to add fuzzy search and stemming, try tokenizing the lowercase string into character triplets, including spaces:
[ th,e q,uic,k b,row,n f,ox ] and sorting by highest count of matching tokens.


I was going to look into stemming/lemmatization after. Keeping it simple on the first pass


From: nostr:npub1ur0506p6aupyraw2k93rjauxxx98m5x7ek0fdg4qvmrfgu90e9wqx27fsl


From: nostr:npub1vyrx2prp0mne8pczrcvv38ahn5wahsl8hlceeu3f3aqyvmu8zh5s7kfy55


Will, release soon


Perfect. I literally implemented Elastic into my client yesterday and concluded we have to do better


may have spent the last 8 hours building a fulltext search engine in nostrdb.

I made the index as space efficient as possible, they keys are stored in a compressed format and map words and word indices to note ids. So when you type “the quick brown fox” it will be able to return results with those exact words in sequence (or not if it can’t find a sequence).

Testing it now 👀. Will release soon ™


Well done will🤙


Is that for damus only?


Its a feature of nostrdb which has nothing to do with damus, but damus does use nostrdb


look at the difference between searching in tidal (has to be exact) and youtube (does not need to be exact)


LFG


Sick!! Is nostrdb out there for other clients to use already?


From: nostr:npub15f0lnlxujj05a8cr7emhsz9cszcjalaq0su6rymvw22zuth0h9fs7cqrdx


Ah sweet. This will greatly help discovery in app for the apps that choose to use nostrdb then. Discovery in amethyst isntgreatd. I use nostr.band as a workaround usually.

Thanks Will.


Dope


Hi Will! If I search for hashtag Argentina on #Damus the app closes 😳


Feature, not a bug. 😂


Propaganda whores and the cure.
🕷


What if?

💌


👀 good catch. Will debug


Ok 😊 it was just weird. I think there is a note with a bug.


Thank you! Just to let you know


Freaking mastermind ⚡🫶🏽


Some sats on their way to you! 🤙🏼


come on people let’s ZAAAAAAAPPPP!!

come on people let’s ZAAAAAAAPPPP!!