The quality of search engines has gone down so much for technical questions.

I’m looking for a way to index sites like stack exchanges, reddit, quora, and research papers. Would this be possible to do this locally with metadata?

Solr is a great search engine. It won’t help you with the crawling, but if you manage to get the data into Solr you have a come far.

@elscallr@lemmy.world
link
fedilink
English
11Y

Solr

triggered

@Anafroj@sh.itjust.works
link
fedilink
English
6
edit-2
1Y

StackExchange dumps are available for Kiwix, the project that allows to use a local dump of Wikipedia. You can find all the available dumps there, including the StackExchange ones. You can even build your own search engine through libs allowing to use those zim files (the dumps), if you want.

Admiral Patrick
link
fedilink
English
53
edit-2
1Y

I mean, you can easily self host a meta-search engine like Searx, Searx-ng, Whoogle, etc. I run Searx-ng and it sends your queries to multiple engines and aggregates the results for you.

To host your own search engine, you’d need to crawl and index every site. It’s certainly doable, but it would take a lot of time /effort.

@PlexSheep@feddit.de
link
fedilink
English
181Y

I agree. Selfhosting a true search engine is way too much work and infeasible for individuals. Meta search engines however are very feasible and a great option.

@radiated@lemm.ee
link
fedilink
English
51Y

Well Google does self-host their own search engine.

I know you’re getting downvoted but you’re also technically correct. Which I appreciate.

Untitled_Pribor
link
fedilink
8
edit-2
1Y

“Hey @SundarPichai , how do I set up one of those googley thingies of yours?”

Docker container pls

@AES@lemmy.ronsmans.eu
link
fedilink
English
41Y

Great username.

Mubelotix
link
fedilink
English
23
edit-2
1Y

I’m glad you ask! I have been working on a peer-to-peer search engine. The goal is to index websites that are on IPFS. It’s an MVP but you can already try the demo and run your node to make your data searchable for the whole network (you would need to generate html files from your data and put it on ipfs first)

@cll7793@lemmy.world
creator
link
fedilink
English
21Y

Thank you so much for your answer!

BrightCandle
link
fedilink
English
5
edit-2
1Y

Even the main search engines don’t index the entire internet of content these days and their databases are truly massive already. Writing a basic web crawler to produce a search index isn’t all that hard (I used to do it as a programming exercise for applicants) but dealing with the volume of data of the entire internet and storing it to produce a worthwhile search engine however is just not feasible on home hardware, it would be TB’s at least. It wouldn’t just be a little worse it would dramatically worse unless you put substantial resources to it including enormous amounts of network bandwidth which would have your ISP questioning your “unlimited 1 gbps fibre” contract. It would probably take years to get decent and always be many months out of date at best.

Doesn’t seem practical to try to self host based on the need to download and index every single page of the internet its a truly massive scale problem.

Meldrik
link
fedilink
English
81Y
TheLemming
link
fedilink
English
51Y

I wished so much that the installation of this would be easier. It’s such an amazing concept and idea

adr1an
link
fedilink
English
81Y

https://docs.searxng.org/ is a meta-search engine but good one 👍

John Colagioia
link
fedilink
English
6
edit-2
1Y

In addition to YaCy and the varieties of Searx (both of which perform better for me than any of the commercial search engines), it’s not even out of the question to do this yourself, if you’re willing to start with the most recent Common Crawl dump and do some spidering in between releases. I don’t recommend it, unless you want to learn for yourself why search engines often give such miserable results, but it’s possible.

However, that’s the issue, here. Can you self-host a search engine? Sure, if you want to maintain the storage to back it. That depends on how deep your pockets go…

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 124 users / day
  • 419 users / week
  • 1.16K users / month
  • 3.85K users / 6 months
  • 1 subscriber
  • 3.68K Posts
  • 74.2K Comments
  • Modlog