[Snowball-discuss] Snowball not finding "purple"

Stephen Cresswell stephen.cresswell at gmail.com
Tue Apr 22 09:40:25 BST 2008


Hi,

I'm using Compass/Lucene + snowball/English to search the following text
which appears in several documents

"The road was a ribbon of moonlight looping the purple moor,"

Searching for the word "ribbon" returns the document, but not the word
"purple"

[945354] compass.DefaultSearchableMethodFactory search defaults: {max=10,
offset=0, reload=false, escape=false}
[945397] search.DefaultSearchMethod query: [+(+(name:ribbon^8.0
firstMessageText:ribbon^0.0 text:ribbon)) +(alias:ALIASConversationALIAS)],
[4] hits, took [2] millis
[956176] compass.DefaultSearchableMethodFactory search defaults: {max=10,
offset=0, reload=false, escape=false}
[956184] search.DefaultSearchMethod query: [+(+(name:purple^8.0
firstMessageText:purple^0.0 text:purple)) +(alias:ALIASConversationALIAS)],
[0] hits, took [1] millis

If the only change I make is to switch to  Lucene's StandardAnalyzer results
for both "ribbon" and "purple" are returned

Is this a bug or is there some strange intended behavior I'm not aware of?

Thanks

Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.tartarus.org/mailman/private/snowball-discuss/attachments/20080422/2377bc80/attachment.htm 


More information about the Snowball-discuss mailing list