Re: [jira] Commented: (LUCENE-759) Add n-gram tokenizers to contrib/analyzers

2007-03-08 Thread Patrick Turcotte
Otis's most recent attachment contains only tests .. but previous attachemnts had implementations. I just took another look, nope, no "*Filter" class (except for test) in those patches. all of which have been commited under contrib/analyzers Just did a fresh checkout from svn, and the filter

[jira] Commented: (LUCENE-759) Add n-gram tokenizers to contrib/analyzers

2007-03-07 Thread Patrick Turcotte (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12479221 ] Patrick Turcotte commented on LUCENE-759: - Is it just me or are the NGramTokenFilter and

Re: [jira] Created: (LUCENE-760) Spellchecker could/should use n-gram tokenizers instead of rolling its own n-gramming

2006-12-23 Thread Patrick Turcotte
Here is a positive node! Keep up the excellent work! Patrick On 12/22/06, Otis Gospodnetic (JIRA) <[EMAIL PROTECTED]> wrote: Spellchecker could/should use n-gram tokenizers instead of rolling its own n-gramming -

[jira] Updated: (LUCENE-682) QueryParser with Locale Based Operators (French included)

2006-11-07 Thread Patrick Turcotte (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-682?page=all ] Patrick Turcotte updated LUCENE-682: Attachment: LocalizedQueryParser.zip New versions. All in the zip file. Improvements are: - By default, if used, using a localized version disable

Re: [jira] Created: (LUCENE-682) QueryParser with Locale Based Operators (French included)

2006-10-29 Thread Patrick Turcotte
: I'll make it using a semi column (;) as a separator in the property file, : shouldn't be used too often. Please tell me if I should use something else. As i said, i don't really have a lot of experience with ResourceBundles, but from what i can tell, i think you should just use getStringArray a

Re: [jira] Created: (LUCENE-682) QueryParser with Locale Based Operators (French included)

2006-10-28 Thread Patrick Turcotte
Hi, I'm making way towards the new version. I'll keep the &&, || and ! operators always active whatever the language. As for the bundle.getStringArray(key), it doesn't work for properties files. A workaround to allow multiple words for each operator would be to put many on the same line in the

[jira] Commented: (LUCENE-682) QueryParser with Locale Based Operators (French included)

2006-10-26 Thread Patrick Turcotte (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-682?page=comments#action_12445062 ] Patrick Turcotte commented on LUCENE-682: - >From what I read in the Javadoc of ResouceBundle, it does cache the values. > QueryParser with Locale

Re: [jira] Created: (LUCENE-682) QueryParser with Locale Based Operators (French included)

2006-10-26 Thread Patrick Turcotte
nt ArrayList .. why not use ResourceBundle.getStringArray so that the bundle can define multiple words to foreach operator? (note: we'd probably want to put them in a Set at that point) Interesting idea. Give me a few days, I'll take the time to submit a new version of the patch with the suggested enhancements. Patrick Turcotte

Re: [jira] Commented: (LUCENE-682) QueryParser with Locale Based Operators (French included)

2006-10-26 Thread Patrick Turcotte
From what I read in the Javadoc of ResouceBundle, it does cache the values. Patrick Turcotte On 10/26/06, Otis Gospodnetic (JIRA) <[EMAIL PROTECTED]> wrote: [ http://issues.apache.org/jira/browse/LUCENE-682?page=comments#action_12444776] Otis Gospodnetic commented on LUCE

[jira] Updated: (LUCENE-682) QueryParser with Locale Based Operators (French included)

2006-10-13 Thread Patrick Turcotte (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-682?page=all ] Patrick Turcotte updated LUCENE-682: Attachment: QueryParser.jj > QueryParser with Locale Based Operators (French inclu

[jira] Updated: (LUCENE-682) QueryParser with Locale Based Operators (French included)

2006-10-13 Thread Patrick Turcotte (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-682?page=all ] Patrick Turcotte updated LUCENE-682: Attachment: QueryParser_fr.properties TestQueryParserLocaleOperators.java LocalizedQueryParserDemo.java Sorry, didn&#

[jira] Updated: (LUCENE-682) QueryParser with Locale Based Operators (French included)

2006-10-13 Thread Patrick Turcotte (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-682?page=all ] Patrick Turcotte updated LUCENE-682: Attachment: QueryParser.properties > QueryParser with Locale Based Operators (French inclu

[jira] Updated: (LUCENE-682) QueryParser with Locale Based Operators (French included)

2006-10-13 Thread Patrick Turcotte (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-682?page=all ] Patrick Turcotte updated LUCENE-682: Attachment: QueryParser.jj.patch > QueryParser with Locale Based Operators (French inclu

[jira] Created: (LUCENE-682) QueryParser with Locale Based Operators (French included)

2006-10-13 Thread Patrick Turcotte (JIRA)
Components: QueryParser Reporter: Patrick Turcotte Priority: Minor Attachments: QueryParser.jj.patch, QueryParser.properties Here is a version of the QueryParser that can "understand" the AND, OR and NOT keyword in other languages. If activated,