💾 Archived View for auragem.letz.dev › devlog › 20220719.gmi captured on 2024-07-09 at 02:06:15. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-03-21)
-=-=-=-=-=-=-
The AuraGem Search Engine has been brought back up and is now crawling again. The database was cleared out and redone so that I can update how data is stored. Below lists some of the changes with crawling and how data is stored:
I also wanted to warn all gemini capsule owners that some mimetypes are incorrect given their filetype. Some servers are sending audio and other binary files as text/gemini or text/plain.
Another issue that I've found is that the first level-1 heading on the root index of many capsules are generic or don't have the name of the capsule. The downside to this is that the crawler will use whatever this level-1 heading is on the root index as the title of the capsule, and results in search results that don't have good titles. This also goes for the titles of pages, and also includes capsules whose pages use the same level-1 heading on all or many of its pages. Some major capsules can be worked around (e.g. Station), but working around every single capsule would be impossible.
AuraGem Search does not store the contents of any pages, and therefore cannot do Full-Text Searching on the contents of pages. I don't like the idea of storing all of geminispace on my harddrive, and I don't have the space to do so either.
Additionally, Full-Text Searching can provide decent results, but I think we can provide even better results with other methods. These methods include searching by keywords, tags, and mentions. Full-Text Search often searches for the whole phrase that is put into the query. However, AuraGem Search instead searches for each word within the search query, and results that have more of the words from the query will be moved up in the search results - often called Sorting by Relevance.
However, AuraGem also searches through page titles too. This can be slow, so FTS or something else like it is being considered for this.
One other idea that I have that could improve results is a different method of keyword extraction. Previously, keyword extraction produced less-than-desirable results because it was extracting too many useless words (or strings that looked like words but weren't). However, AuraGem now stores tags from tag lines in pages. This means that AuraGem can use these tags as keywords to extract from pages that don't have tag lines. This same process could also apply to mentions.
Another problem that the above process would not catch are names and proper nouns. These are often very important words that people would want to search for (e.g. Mathematics, C++, Celine Dion, FTS). I do not have an easy method for this atm.
The final problem with Keyword Extraction is that it needs to work for multiple languages. The first method above, using tags and mentions, would work with other languages, but the second method would be much harder to work with.
There could also be an abuse of these tag lines. I have not seen such abuse, yet. However, I will deal with it when the day comes that I find tag line abuse out in the wild.