Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New version of Daytona #317

Open
scripting opened this issue Jan 15, 2025 · 6 comments
Open

New version of Daytona #317

scripting opened this issue Jan 15, 2025 · 6 comments

Comments

@scripting
Copy link
Owner

scripting commented Jan 15, 2025

Daytona is the search function for my blog, Scripting News.

This is a place to ask questions and report problems about the new version of Daytona.

The docs are here.

Hope you like! :-)

@andrewshell
Copy link

Wow, that is so fast :-)

When I click the hash mark on an item I'd expect it to take me to that item's permalink but right now it takes me to a missing page on https://daytona.scripting.com/

For example, on the "sources go direct" search:
https://daytona.scripting.com/search?q=%22sources%20go%20direct%22

The first item hash links to https://daytona.scripting.com/2022/04/13/#a165106

@scripting
Copy link
Owner Author

Haha @andrewshell -- you are quick! 😄

There will be lots of stuff like that. This was a very quick release. I've had this done since September, and decided it shouldn't be sitting on the shelf so long.

@scripting
Copy link
Owner Author

@andrewshell -- the permalink should work now. :-)

@scripting
Copy link
Owner Author

scripting commented Jan 15, 2025

I've encountered some problems with the database, otherwise everything else seems to work fine, though there are plenty of "nice to have" features -- none are essential.

  1. If you search for WordLand it only finds one instance. There's obviously a problem there. ✔

  2. And it doesn't find some of the things that are on the home page now. ✔

  3. When I change something on the home page I don't see something in the server log. There should be a call saying "hey these items are in a page that updated, better check them." ✔

  4. I wish where a date appears, I could click on it and go to the archive page for that day. ✔

  5. I want to consider not trying to rank hits, rather show them in reverse chron order, this is a blog after all. ✔

  6. Some days are listed in the hits, but there's nothing shown underneath. This is weird because when I go to the archive page there is an instance of the search term. (This due to markup on the matched text. When we scan to highlight, we don't find anything to highlight and thus assume it's not there. This is not the kind of thing I want to deal with when sweeping up bugs.)

  7. Render emoji short codes, glossary references. (Not going to do this now.)

These are things I will look into when I swing back around, maybe in a couple of hours, maybe next week or month. ;-)

@scripting
Copy link
Owner Author

If you search for WordLand it only finds one instance. There's obviously a problem there.

Fixed. Posts between Sept and present were missing from the database.

@scripting
Copy link
Owner Author

scripting commented Jan 16, 2025

Problem when searching for hyphenated terms like XML-RPC.

https://daytona.scripting.com/search?q=xml-rpc

The search algorithm is willing to return hits for XML and RPC, as if they were separate search terms. But it's basically a word. Treating it like that would be like matching "pine" when I search for "pineapple". is there a way to account for this?

Changed the search algorithm from boolean mode to natural language mode, two modes supported by MySQL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants