Wow. I didn't expect somebody to come straight in with the answer. Thanks for that. It seems to explain the problem very well.<div><br></div><div>When I get to the pc I was using I will check what version of BibleDesktop is installed. Does the latest build of BibleDesktop contain the new stemming feature that is in the latest JSword code in Subversion?</div>
<div><br></div><div>So, assuming that problem is sorted it would be great if we could create a repository of the latest JSword indexes and then I can point And Bible at it. I am happy to do this, or to assist, or just to use them, but at the moment I don't think I have write access to any CrossWire repositories.<br>
<div><br></div><div>Kind regards</div><div>Martin<br><br><div class="gmail_quote">On 4 November 2010 16:44, DM Smith <span dir="ltr"><<a href="mailto:dmsmith@crosswire.org" target="_blank">dmsmith@crosswire.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On 11/04/2010 11:26 AM, Martin Denham wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Does anybody know any reason why a search for 'blessed' does not return any search results in ESV but searching for 'bless' work perfectly?<br>
</blockquote>
<br></div>
As best as I can tell it is a miss match between the index and the library. I just did the same search as you and got the same results as you. Then I deleted the index and rebuilt it. Then it started to work.<div>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
When I download BibleDesktop (JSword) generated indexes to And Bible I have noticed that some searches like 'blessed' stop working but I can't figure out what the problem is and would appreciate some pointers as to areas to look.<br>
</blockquote>
<br></div>
It is critical that the same jsword.jar is used to build the index and to search it.<br>
<br>
In this case the problem is that stemming has been introduced in the newest version of JSword. This invalidates old indexes, but there is not a mechanism to know that. Well, there is but it is not complete.<div>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I have checked that the correct Analyzer is being used but I am not sure what else to check or if the 'blessed'/'bless' issue might point to a specific problem area.<br>
</blockquote>
<br></div>
The analyzer is merely a chain of a tokenizer and a bunch of filters.<div><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
The plan is to download pre-created indexes to And Bible and in theory those indexes should be generated by JSword but currently And Bible can only use indexes it creates itself or which have been created by CLucene/Sword.<br>
</blockquote>
<br></div>
The indexes that CLucene/Sword create are not compatible with JSword and haven't been for many releases. (And visa versa). For the most part they work for English, but as you found out "most part" isn't good enough.<br>
<br>
The biggest problem is that CLucene development is stagnant and far behind that of Java Lucene. The second problem is that unless a versioning mechanism is added to SWORD, the SWORD indexes will not improve or gain new features.<br>
<br>
We improved JSword w/o a versioning mechanism and are suffering the problems. It needs to be fixed with the next point release.<div><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
All advice, opinions, and comments are appreciated.<br>
<br>
Many thanks<br>
Martin<br>
</blockquote>
<br></div>
In His Service,<br>
DM<br>
<br>
_______________________________________________<br>
jsword-devel mailing list<br>
<a href="mailto:jsword-devel@crosswire.org" target="_blank">jsword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br>
</blockquote></div><br></div>
</div>