Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.9, 3.0
-
None
-
None
-
New
Description
This is a followup of LUCENE-1987:
If somebody uses StandardAnalyzer with Version.LUCENE_CURRENT and then uses QueryParser, phrase queries will not work, because the StopFilter enables position Increments for stop words, but QueryParser ignores them per default. The user has to explicitely enable them.
This issue would add a ctor taking the Version constant and automatically enable this setting. The same applies to the contrib queryparser. Eventually also StopAnalyzer should add this version ctor.
To be able to remove the default ctor for 3.0 (to remove a possible trap for users of QueryParser), it must be deprecated and the new one also added to 2.9.1.
Attachments
Attachments
Issue Links
- incorporates
-
LUCENE-1373 Most of the contributed Analyzers suffer from invalid recognition of acronyms.
- Resolved
- is depended upon by
-
LUCENE-2003 Highlighter has problems when you use StandardAnalyzer with LUCENE_29 or simplier StopFilter with stopWordsPosIncr mode switched on
- Closed
- relates to
-
LUCENE-1987 Remove rest of analysis deprecations (Token, CharacterCache)
- Closed