this post was submitted on 15 Jul 2024
1954 points (99.5% liked)

Technology

57465 readers
3958 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

Switzerland mandates all software developed for the government be open sourced

Switzerland mandates software source code disclosure for public sector: A legal milestone

https://joinup.ec.europa.eu/collection/open-source-observatory-osor/news/new-open-source-law-switzerland

@technology@lemmy.world

#tech #libre

you are viewing a single comment's thread
view the rest of the comments
[–] vk6flab@lemmy.radio 2 points 1 month ago (3 children)

You store just the word count for each word on each URL.

The search is pretty trivial in database terms since you don't need to do any wildcard or like matching.

[–] Dave@lemmy.nz 1 points 1 month ago (2 children)

Ah of course!

I guess one of the things the Google originally solved was that the internet if full of crap and not all sites should have equal weighing. With AI spam sites these days, you'd probably also need a method of weighting results?

[–] vk6flab@lemmy.radio 2 points 1 month ago (1 children)

We never got that far to test that kind of issue and while I've been reimplementing it locally to search through employment advertising, I'm not at a point where I'd be able to test such a thing.

The original implementation used a data store written by another team member and it made the original project much too complicated.

Today I'd likely use duckdb to implement it. My local version uses text files for a proof of concept implementation.

[–] Dave@lemmy.nz 1 points 1 month ago

It sounds like a really cool project regardless!