lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (JIRA) <>
Subject [jira] [Updated] (LUCENE-682) QueryParser with Locale Based Operators (French included)
Date Thu, 28 Feb 2013 13:05:17 GMT


Jan Høydahl updated LUCENE-682:

This issue has been inactive for more than 4 years. Please close if it's no longer relevant/needed,
or bring it up to date if you intend to work on it. SPRING_CLEANING_2013
> QueryParser with Locale Based Operators (French included)
> ---------------------------------------------------------
>                 Key: LUCENE-682
>                 URL:
>             Project: Lucene - Core
>          Issue Type: New Feature
>          Components: core/queryparser
>            Reporter: Patrick Turcotte
>            Assignee: Hoss Man
>            Priority: Minor
>         Attachments:,,
LocalizedQueryParser.patch, LocalizedQueryParser.patch,,,
QueryParser.jj, QueryParser.jj.patch,,
> Here is a version of the QueryParser that can "understand" the AND, OR and NOT keyword
in other languages.
> If activated, 
> - "a ET b" should return the same query as "a AND b", namely: "+a +b"
> - "a OU b" should return the same query as "a OR b", namely: "a b"
> - "a SAUF b" should return the same query as "a NOT b", namely: "a -b"
> Here are its main points : 
> 1) Patched from revision 454774 of lucene 2.1dev (trunk) (probably could be used with
other versions)
> 2) The "ant test" target is still successful when the modified QueryParser is used
> 3) It doesn't break actual code
> 4) The default behavior is the same as before
> 5) It has to be deliberately activated
> 6) It use ResourceBundle to find the keywords translation
> 7) Comes with FRENCH translation
> 8) Comes with JUnit testCases
> 9) Adds 1 public method to QueryParser
> 10) Expands the TOKEN <TERM>
> 11) Use TOKEN_MGR_DECLS to set some field for the TokenManager

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message