[m-dev.] diff: more htdig changes
Peter Ross
petdr at cs.mu.OZ.AU
Fri Mar 10 12:49:21 AEDT 2000
Hi,
===================================================================
Estimated hours taken: 0.5
w3/bin/install_webpages:
As we now use alternate work files when indexing the site, to allow
the site to still be searched while being indexed, move the
alternate files over the original files when the indexing finishes.
w3/htdig/htdig-mercury.conf:
Don't index .ps or files in the download/files directory.
Index: bin/install_webpages
===================================================================
RCS file: /home/staff/zs/imp/w3/bin/install_webpages,v
retrieving revision 1.13
diff -u -r1.13 install_webpages
--- bin/install_webpages 2000/03/10 01:01:19 1.13
+++ bin/install_webpages 2000/03/10 01:32:27
@@ -57,3 +57,9 @@
# Index the web-site for searching.
htdig -c /etc/htdig/htdig-mercury.conf -a
htmerge -c /etc/htdig/htdig-mercury.conf -a
+
+ # Replace the work files with their alternate versions.
+for file in `ls *.work`
+do
+ mv $file `basename $file .work`
+done
Index: htdig/htdig-mercury.conf
===================================================================
RCS file: /home/staff/zs/imp/w3/htdig/htdig-mercury.conf,v
retrieving revision 1.2
diff -u -r1.2 htdig-mercury.conf
--- htdig/htdig-mercury.conf 2000/03/09 03:24:44 1.2
+++ htdig/htdig-mercury.conf 2000/03/10 01:44:40
@@ -53,7 +53,7 @@
# since there doesn't seem to be any point trying to index
# binary files. -fjh.]
#
-exclude_urls: /cgi-bin/ .cgi .gz .deb .rpm
+exclude_urls: /cgi-bin/ download/files/ .cgi .gz .deb .rpm .ps
#
# The excerpts that are displayed in long results rely on stored information
@@ -91,7 +91,7 @@
# you need to use the htfuzzy program to generate the databases that each
# algorithm requires.
#
-search_algorithm: exact:1 synonyms:0.5 endings:0.1
+search_algorithm: exact:1 # synonyms:0.5 endings:0.1
#
# The following are used to change the text for the page index.
----
Peter Ross
PhD Student University of Melbourne
http://www.cs.mu.oz.au/~petdr/
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list