Home « Server software «
Documentation: search.php
search.php - Search among pages
This script calls for a search pattern, then actually searches the database.The integrated search engine is based on full-text indexing capabilities of MySQL.
At the bottom of the page the search can be extended to the page locator, and to external search engines including Google and Yahoo!
A link to get search results as a rss feed is offered in an extra box.
Small words are removed to avoid users being stucked with unsuccessful searches (Thank you Emmanuel).
Accept following invocations:
- search.php?search=<keywords>
- search.php?search=<keywords>&page=1
- search.php?search=<keywords>&anchor=section:12
This script is a reference file of this system.
Voir aussi:
- MySQL Manual | 12.6 Full-Text Search Functions
- Using Fulltext Indexes in MySQL - Part 1
- Using Fulltext Indexes in MySQL - Part 2, Boolean searches
- go.php
- services/search.php
Licence: GNU Lesser General Public License
Auteurs:
- Bernard Paques bernard.paques@bigfoot.com
- Richard Gilmour
Testeurs:
- Aleko
- Vincent Weber
- Antoine Bour
- Emmanuel Beucher
- Manuel López Gallego
Reste à faire:
- allow for a search limited to users
- allow for a search limited to files
- introduce boolean searches, depending on MySQL version (> 4.0.1)