[infinispan-issues] [JBoss JIRA] (ISPN-3593) Disallow storing a Lucene index when storeAsBinary is enabled

Sanne Grinovero (JIRA) jira-events at lists.jboss.org
Sun Oct 6 08:35:02 EDT 2013


Sanne Grinovero created ISPN-3593:
-------------------------------------

             Summary: Disallow storing a Lucene index when storeAsBinary is enabled
                 Key: ISPN-3593
                 URL: https://issues.jboss.org/browse/ISPN-3593
             Project: Infinispan
          Issue Type: Enhancement
          Components: Lucene Directory
    Affects Versions: 6.0.0.CR1
            Reporter: Sanne Grinovero
            Assignee: Pedro Ruivo
             Fix For: 6.0.0.Final


As discussed on the mailing list, this configuration doesn't make sense for the Lucene Directory and can cause trouble.
Let's add some validation to throw a runtime exception to disallow this configuration when a Directory is created on a cache.

Could probably be done in a very similar way as:
https://github.com/infinispan/infinispan/commit/2f6447e197abe2e9e62c796ab0f0e8ba524d34be

--
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


More information about the infinispan-issues mailing list