You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2010/05/25 19:31:25 UTC
[jira] Updated: (LUCENE-2477) remove MoreLikeThis's default
analyzer
[ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org