Can Lemmy posts be indexed by Google or other search engines?
One of the best things about reddit was looking for answers or other users with the same problem as you, and since Google didn't really help with that anymore and instead insisted on giving you business results, the best practice was to put your search terms in followed by 'reddit' and you'd find your answer.
If anyone wants to help out, feel free to reach out, but I hope to have something ready to release soon.
The idea with my version is that it'll search as much of Lemmy / the fediverse as it can and you can select the preferred instance that you want to open any link with.
If you are looking to return relevant, well ranked results based on freeform queries you'd be better indexing into something like elasticsearch. Otherwise you'll be reinventing solutions to well understood problems, like stemming as a very basic example.
For the initial release the search is still fairly basic, but A LOT better than the built in search here.
Right now I just look for IF the individual words match ANY of the words in the post title or body and then rank based on the number of upvotes that the post has.
Future versions may look at using elastic search, etc... But for MVP it just looks for the number of hits + the score of the post as I assume the higher the score the more trustworthy the post, and obviously the more matches that to your query the more relevant the post is.
How is this different from just searching for posts on the original "seed instance"?
Presumably you're crawling through everything on all of the instances that it's aware of, as opposed to the Lemmy built-in search which would only search communities that have a subscriber?
So the built in search here is VERY basic and slow. For example if I search for "How this is" it wouldn't find your comment here as the word order has to match as well.
One of my main goals is that you'll be able to use my search engine like you would Google's + adding reddit to the end of the query. Then from the search results the link you open would open in your preferred instance instead of the instance Google happened to crawl. Lastly if you want to Google Lemmy posts today you have to add every known Lemmy instance to your search query and even then Google still will open the link on whichever instance it happened to find it on rather than the instance you have an account on.
They're getting indexed, but search rankings are so low they're buried. If you put <search term> site:<server> you get post results. For example lemmy site:lemmy.world
Not the way Google works. It's probably indexing most medium size instances and up. They just need to get better Pagerank along with the other metrics google uses now to show up more prominently
This would obviously be good for promoting Lemmy which I’m 100% all for.
But from a privacy point of view, I also feel mods should be able to stop indexing or choose which engines can index for their specific communities and also users at a user should be able to control it. I understand that engines could ignore this, but I doubt the big ones would..
I think I read that individual instances already can choose whether to be indexed or not, I could be wrong there
Being decentralized will make it harder to just use "search + reddit" because you don't know if it's "search + lemmy.world" or "search + beehaw" or "search + kbin." Also, each admin is in charge of their own Robots.txt.
I’ve been experimenting with my instance and google does index my lemmy.mitchday.com page. If you search ‘lemmy mitch day’, you get my page right up top and a few motorhead fans named mitch down below.
My experiment involves trying to SEO a vanity domain I’ve had for years and only used for email. Since July 4, the page ranking for my general site has steadily climbed. The little bit of traffic from other instances and a handful of subscriptions seems to be impacting the ranking.