lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36021] - [PATCH] Contribution: A QueryParser which passes wildcard and prefix queries to analyzer
Date Fri, 05 Aug 2005 15:26:10 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36021>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36021





------- Additional Comments From ronnie.kolehmainen@ub.uu.se  2005-08-05 17:26 -------
Created an attachment (id=15907)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=15907&action=view)
TestAnalyzingQueryParser.java

A query parser which utilises an analyzer is usable when you have multi-lingual
content in one context, for example a web portal application. Analyzing is
*not* recommended when using a stemmer, since a stemmer usually truncates
terms.

For multi-lingual content, I have used a custom analyzer which "normalises"
umlauts and diacritics to their closest ascii equivalent (see attachment
below).
Doing tests with StandardAnalyzer would not make much sense, so this test case
requires the custom analyzer as well.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message