Added search index table + simple XML-based search interface

The XML thing is supposed to be used for auto-completion, of course. The
current search implementation is very, very stupid and simple: Just a
prefix match on the man name, and simple detection of section stuff. I
suppose it'll suffice for now.
This commit is contained in:
Yorhel 2012-07-17 18:45:41 +02:00
parent 5d39a55158
commit 10e8d4acae
4 changed files with 38 additions and 21 deletions

View file

@ -1,6 +1,10 @@
#!/bin/sh
PSQL="psql -U manned -Awtq"
./arch.sh
./deb.sh ubuntu_active
./deb.sh debian_active
echo "============ Updating SQL indices"
$PGSL -f update_indices.sql