[sword-devel] FFe application for sword being considered, and patches split out
dmsmith at crosswire.org
Mon Aug 31 10:55:37 MST 2009
On 08/31/2009 12:55 PM, Matthew Talbert wrote:
> On Mon, Aug 31, 2009 at 12:52 PM, DM Smith<dmsmith at crosswire.org> wrote:
>> On 08/31/2009 12:42 PM, DM Smith wrote:
>>> I don't think the solution regarding segfaults on a search of only
>>> stopwords is the right way to solve the problem. The problem is in clucene
>>> or an inappropriate use of it. A bug should be entered into the clucene
>>> project for it.
>> The bug has already been reported and fixed:
>> It is fixed in 0.9.23.
> The problem is that 0.9.23 is considered "unstable", therefore it
> isn't included in any of the distros. The problem will have to be
> worked around until they have another stable release.
I'm supposing that clucene's interface is like Java Lucene's as it is a
faithful port. If so the stopword list is available.
For a fix that doesn't break backward compatibility. How about getting
the stopword list from the analyzer and checking the query for those
words. If any are found then gracefully fail the query, or merely delete
them and potentially create a bad query, or ...
More information about the sword-devel