D
D
Denis Prikhodko2013-12-10 06:40:00
HTML
Denis Prikhodko, 2013-12-10 06:40:00

How to organize search in html site?

Good afternoon? Tell me, please, by what means can I organize a search on the html site?
How things are in practice. There are many static pages, they have a lot of information.
How I imagine the search. There is a muscle base, page tags and the address, title, etc. of the page are entered in the database. After entering in the search field on the site, pages are displayed, where headings and a brief description of the page will be indicated. Clicking on the title will take you to that page.
Any suggestions where to dig for a solution? Perhaps there is ready?
Not necessarily the same as I described, any search engines on a static site are interesting.
Thank you.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Sergey, 2013-12-10
@cpentyc

Attach a search from Google or Yandex

S
Sergey, 2013-12-10
@cpentyc

site.yandex.ru

Y
Yuri Yarosh, 2013-12-10
@d00mko

You can index in ElasticSearch and perform search queries directly from html pages.

U
un1t, 2013-12-10
@un1t

Alternatively, you can write a small script that will upload this data to the database, and then calmly search the database. You can use some search engine like Sphinx, but you still have to write a similar script to extract the content from the files and build an index (for the sphinx, see the xmlpipe and xmlpipe2 interfaces).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question