[prev in list] [next in list] [prev in thread] [next in thread] 

List:       solr-dev
Subject:    [jira] [Created] (LUCENE-5196) Revive LTC.PREFLEX_IMPERSONATION_IS_ACTIVE
From:       "Shai Erera (JIRA)" <jira () apache ! org>
Date:       2013-08-31 5:18:51
Message-ID: JIRA.12666446.1377926223466.64320.1377926331556 () arcas
[Download RAW message or body]

Shai Erera created LUCENE-5196:
----------------------------------

             Summary: Revive LTC.PREFLEX_IMPERSONATION_IS_ACTIVE
                 Key: LUCENE-5196
                 URL: https://issues.apache.org/jira/browse/LUCENE-5196
             Project: Lucene - Core
          Issue Type: Improvement
          Components: general/test
            Reporter: Shai Erera
            Assignee: Shai Erera
            Priority: Minor


This constant is currently not used and from what I understand, it was used in the \
past to test 3.x stuff? Anyway, I want to revive it by renaming it to \
OLD_FORMAT_IMPERSONATION_IS_ACTIVE (defaults to true) and have the RWCodecs respect \
it by not supporting e.g. fieldsConsumer() if it's set to false. This will allow \
tests that want to verify e.g. old formats are not supported work.

Currently it's impossible because the RWCodec gets loaded before the non-RW by SPI, \
and so writing segments in an old format always work. I want to test something like \
that in LUCENE-5189 and prevents it.

Will post a patch soon.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic