Merging function get_keyword() and function keyword_count() #868
Replies: 3 comments 6 replies
-
Yes we need to improve the search functions/functionality, previously we only search the title and tags based on the filename because I don't want to open each file to find the desired word. Imagine if we have 10K articles, opening 10K files one by one will definitely slow things down a lot. I'm going to create some kind of new method for this. So it's almost similar to page views. There is a kind of search index that contains each article content. When we create an article, update/edit/delete. We will automatically add this to the search index. We can also manually add this. There are two options, search only title and tags, or title, tags and content (more RAM used). |
Beta Was this translation helpful? Give feedback.
-
"There are two options, search only title and tags, or title, tags and content (more RAM used)." I admit to using systems and resources where CPU and RAM are not really an issue . . . this idea has not been a personal consideration since the 486-DX Days 🤷 It just makes more sense, to me--in the present moment--to get my mind around the idea that the Why are these two functions() separate? |
Beta Was this translation helpful? Give feedback.
-
Looking forward to seeing just how this develops ;) |
Beta Was this translation helpful? Give feedback.
-
It seems duplicitous, to me, that there would be two distinct functions() pertaining to a subjectively singular process.
Just trying to determine the reasons behind the separate functions(), and getting my mind around the idea of merging the two...
...could/should this be a Thing?
Beta Was this translation helpful? Give feedback.
All reactions