lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-2477) remove MoreLikeThis's default analyzer
Date Tue, 25 May 2010 17:31:25 GMT

     [ 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


Mime
View raw message