lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dawid Weiss (Commented) (JIRA)" <>
Subject [jira] [Commented] (LUCENE-3847) LuceneTestCase should check for modifications on System properties
Date Thu, 22 Mar 2012 17:24:22 GMT


Dawid Weiss commented on LUCENE-3847:

I know what's changing it. Eh. So -- there is a warning being printed:
Mar 22, 2012 6:20:33 PM org.apache.solr.core.Config parseLuceneVersionString
WARNING: You should not use LUCENE_CURRENT as luceneMatchVersion property: if you use this
setting, and then Solr upgrades to a newer release of Lucene, sizable changes may happen.
If precise back compatibility is important then you should instead explicitly specify an actual
Lucene version.
Mar 22, 2012 6:20:33 PM org.apache.solr.analysis.BaseTokenStreamFactory warnDeprecated
WARNING: RussianLetterTokenizerFactory is deprecated. Use StandardTokenizerFactory instead.

These warnings go through Java logging and this in turn is localized (date format, "warning"
info, etc.). This in turn asks for the default TimeZone and this in turn sets the system property
(I mentioned it a while ago).

I suggest that we just ignore user.timezone as it is triggered from multiple locations and
doesn't seem that important?

> LuceneTestCase should check for modifications on System properties
> ------------------------------------------------------------------
>                 Key: LUCENE-3847
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: general/test
>            Reporter: Dawid Weiss
>            Assignee: Dawid Weiss
>            Priority: Minor
>             Fix For: 3.6, 4.0
>         Attachments: LUCENE-3847.patch
> - fail the test if changes have been detected.
> - revert the state of system properties before the suite.
> - cleanup after the suite.

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


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

View raw message