[
https://issues.apache.org/jira/browse/LUCENE-2477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Muir updated LUCENE-2477:
--------------------------------
Attachment: LUCENE-2477.patch
patch for 4.0, which sets the default to null.
If you don't have term vectors and dont set the analyzer, it throws a UOE.
All tests pass, for the 3.1 backport, instead of setting it to null, we simply
deprecate DEFAULT_ANALYZER and specify that you must provide it if you are
using stored fields.
> remove MoreLikeThis's default analyzer
> --------------------------------------
>
> Key: LUCENE-2477
> URL: https://issues.apache.org/jira/browse/LUCENE-2477
> Project: Lucene - Java
> Issue Type: Bug
> Components: contrib/*
> Affects Versions: 3.1, 4.0
> Reporter: Robert Muir
> Assignee: Robert Muir
> Fix For: 3.1, 4.0
>
> Attachments: LUCENE-2477.patch
>
>
> MoreLikeThis has the following:
> {code}
> public static final Analyzer DEFAULT_ANALYZER = new
> StandardAnalyzer(Version.LUCENE_CURRENT);
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]