Replies: 2 comments 7 replies
-
On the user-end, this would make it possible to build nice looking and useful autocomplete forms 👍 |
Beta Was this translation helpful? Give feedback.
-
Hi @jgbolger, that would be a nice addition but that's unfortunately not possible for the time being. The reason is technical: endoflife.date, including its API, is just a static site. This means all files are generated when the site is built and then those files are just served by the server. So no additional processing, such as a fuzzy search, is possible at request time. On the https://endoflife.date/ website, the search feature is implemented in javascript using https://lunrjs.com/ (if I recall correctly). So the search is actually made by the browser, not the server. On API side no such thing can be implemented, so unfortunately you will have to build this into your own tooling. @captn3m0 do you confirm there is no short-term or medium-term plan to build an application that could be used to implement this fuzzy-search feature? |
Beta Was this translation helpful? Give feedback.
-
I think it would be a useful addition if the API supported the ability to find a product by name with fuzzy name matching. This would essentially allow me to find the end-of-life date for "Windows Server 2016", or "Microsoft Windows Server 2016", or "Windows Server 2016 (R2)" etc. The reason is that there are many tools used to collect such data and all use different naming standards. This could potentially be implemented via regex matching. I'd be happy to contribute a PR if there is interest in this. I can build this into my own tooling but would rather contribute it here if useful.
Beta Was this translation helpful? Give feedback.
All reactions