开发者

client side search engine

开发者 https://www.devze.com 2023-03-19 03:59 出处:网络
I would like to get some suggestions on my current headache. I have been researching on search engine for client side browser. I am building custom glossary project. The idea of the search engine will

I would like to get some suggestions on my current headache. I have been researching on search engine for client side browser. I am building custom glossary project. The idea of the search engine will be used for searching terms, keywords, or definitions.

Here are my requirements for this project

  • no server side support. Total client side
  • only for intranet
  • build for browser that is not HTML开发者_运维知识库5
  • thousands of terms

Any suggestions or ideas on how to build the client-side only search engine?

Thanks in advance


Barring a full desktop app, I don't see how you can do this without a server. Distribute the HTML files as a .ZIP file and browse them locally? If yes, you probably need to make a honking big page with the whole database inside it (as Javascript data structures) and search that way. Shouldn't be too hard with regexes etcetera, but I doubt whether you'll end up with a fun user experience...

Really curious why a simple server-side solution won't work :-)

0

精彩评论

暂无评论...
验证码 换一张
取 消