This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Committed: make search.html, searchbox.ihtml not expand endings bydefault
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 25 May 2002 11:28:10 -0400 (EDT)
- Subject: Committed: make search.html, searchbox.ihtml not expand endings bydefault
People have been pointing out that it's not useful that
searching for "install" is "promoted" to a search for "(install
or installed or installing or installer or installs or
installers)" at least not by default. Hope to do this for the
mailing lists searchboxes too.
I removed the "format" choice from the front-page searchbox,
since I wanted choices to continue to fit on one line, and I
couldn't see the usefulness in "long results" vs. "short
results" for this "quick search". Also avoids using a
symlink that was supposed to be temporary.
Validated with the w3 validator.
Index: searchbox.ihtml
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/searchbox.ihtml,v
retrieving revision 1.7
diff -p -c -r1.7 searchbox.ihtml
*** searchbox.ihtml 5 Mar 2002 22:04:33 -0000 1.7
--- searchbox.ihtml 25 May 2002 15:07:29 -0000
*************** Match: <select name="method">
*** 13,21 ****
<option value="boolean">Boolean expression</option>
</select>
! Format: <select name="format">
! <option value="builtin-long">Long</option>
! <option value="builtin-short">Short</option>
</select>
Limit to: <select name="exclude">
--- 13,21 ----
<option value="boolean">Boolean expression</option>
</select>
! Type: <select name="search_algorithm">
! <option value="exact:1" selected="selected">Exact</option>
! <option value="exact:1 prefix:0.6 synonyms:0.5 endings:0.1">Fuzzy</option>
</select>
Limit to: <select name="exclude">
Index: search.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/search.html,v
retrieving revision 1.51
diff -p -c -r1.51 search.html
*** search.html 1 May 2002 09:36:02 -0000 1.51
--- search.html 25 May 2002 15:07:30 -0000
*************** Match: <select name="method">
*** 14,19 ****
--- 14,23 ----
<option selected="selected" value="and">All words</option>
<option value="or">Any word</option>
</select>
+ Type: <select name="search_algorithm">
+ <option value="exact:1" selected="selected">Exact</option>
+ <option value="exact:1 prefix:0.6 synonyms:0.5 endings:0.1">Fuzzy</option>
+ </select>
Format: <select name="format">
<option value="builtin-long">Long</option>
<option value="builtin-short">Short</option>
*************** Note that the operator <b>not</b> is bin
*** 710,716 ****
<!-- MetaHTML -->
<alist-to-package
! <get-file-properties /sourceware/htdig2/gcc/db/db.docdb>
x
>
<add 1900 <get-var x::READ[2]>>-<get-var x::READ[0]>-<get-var x::READ[1]>
--- 714,720 ----
<!-- MetaHTML -->
<alist-to-package
! <get-file-properties /sourceware/htdig/gcc/db/db.docdb>
x
>
<add 1900 <get-var x::READ[2]>>-<get-var x::READ[0]>-<get-var x::READ[1]>
brgds, H-P