<div>Thanks, we are doing much better when adding [--stemmer=none] option to the scriptindex. All the words are indexed and able to search as they appear in the orginal content. Very good! This way we can easly avoid stemming words that are not of English origin.
</div>
<div> </div>
<div>#!/bin/sh<br>#---------------------------------------------------------#<br># This script create a Xapian index <br>#---------------------------------------------------------#<br>echo -n "Xapian Index Start: "
<br>date<br>echo "The pid of this process is $$"<br>#---------------------------------------------------------#<br>echo "Retrieving data from database"<br>DBUSER=user DBPASSWORD=password /usr/local/bin/dbi2omega myDatabase myTable >
myData.dat<br>rm -f /indexPath/*<br>echo "Indexing "<br>/usr/local/bin/scriptindex --stemmer=none /indexPath indexscript myData.dat <br>#---------------------------------------------------------#<br>echo -n "Xapian Index End: "
<br>date<br><br><br> </div>
<div><span class="gmail_quote">On 3/9/06, <b class="gmail_sendername">James Aylett</b> <<a href="mailto:james-xapian@tartarus.org">james-xapian@tartarus.org</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Thu, Mar 09, 2006 at 06:35:13PM +0000, Olly Betts wrote:<br><br>> > search for hiking does not return any results:
<br>> > <a href="http://nitra.net/cgi-bin/hladaj.cgi?a=q&q=hiking&c=sk">http://nitra.net/cgi-bin/hladaj.cgi?a=q&q=hiking&c=sk</a><br>> ><br>> > search for hike return result including hiking:
<br>> > <a href="http://nitra.net/cgi-bin/hladaj.cgi?a=q&q=hike&c=sk">http://nitra.net/cgi-bin/hladaj.cgi?a=q&q=hike&c=sk</a><br>><br>> That hike matches hiking, but hiking doesn't strongly suggests that
<br>> stemming is happening at index time. So you need to fix that.<br><br>The result matching 'hike' contains the word 'hike' in the page<br>text. I'd suggest that no stemming is happening, but that the HTML<br><title>...</title> isn't being indexed.
<br><br>J<br><br>--<br>/--------------------------------------------------------------------------\<br>James Aylett <a href="http://xapian.org">xapian.org</a><br><a href="mailto:james@tartarus.org">
james@tartarus.org</a> <a href="http://uncertaintydivision.org">uncertaintydivision.org</a><br></blockquote></div><br>