crossley 02/01/03 23:18:35
Modified: src/webapp/search search-index.xsp
Log:
Cosmetic changes for user inferface.
Fix the "count" column which was starting at zero.
Revision Changes Path
1.2 +9 -11 xml-cocoon2/src/webapp/search/search-index.xsp
Index: search-index.xsp
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/webapp/search/search-index.xsp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- search-index.xsp 3 Jan 2002 12:31:44 -0000 1.1
+++ search-index.xsp 4 Jan 2002 07:18:35 -0000 1.2
@@ -99,15 +99,12 @@
}
</xsp:logic>
- <title>Index Search</title>
+ <title>Cocoon XML Search Interface</title>
<content>
- <a href="http://jakarta.apache.org/lucene">
- <img border="0" alt="Lucene Logo" src="images/lucene_green_300.gif"/>
- </a>
- <h1>IndexSearch</h1>
+ <a href="http://jakarta.apache.org/lucene/"><img border="0" alt="Lucene Logo"
src="images/lucene_green_300.gif"/></a>
<para>
<font size="-1">
- <a target="_blank" href="statistic">Index Statistic</a> |
+ <a target="_blank" href="statistic">Index Statistics</a> |
<a href="welcome">Welcome</a>
</font>
</para>
@@ -120,18 +117,19 @@
</form>
</para>
<para>
- Search Help
+ Help by example (see also the
+ <a href="http://www.lucene.com/cgi-bin/faq/faqmanager.cgi">Lucene FAQ</a>)
<table cellspacing="2" cellpadding="2">
<tr bgcolor="#dddedd" valign="top">
<td width="50%"><font size="-2" >
<ul>
<li>free AND "text search"
- Search for documents containing "free" and the
+ Search for documents which contain the word "free" and the
phrase "text search"
</li>
<li>+text search
- Search for documents containing "text" and
- preferentially containing "search".
+ Search for documents which must contain the word "text" and
+ optionally contain the word "search".
</li>
<li>giants -football
Search for "giants" but omit documents containing "football"
@@ -193,7 +191,7 @@
<xsp:content>
<tr>
<td> <xsp:expr>String.valueOf((int)(score *
100.0f))</xsp:expr>% </td>
- <td> <xsp:expr>String.valueOf(counter)</xsp:expr> </td>
+ <td> <xsp:expr>String.valueOf(counter + 1)</xsp:expr> </td>
<td>
<a target="_blank">
<xsp:attribute
name="href"><xsp:expr>url</xsp:expr></xsp:attribute>
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]