Solr is not friend to IndexReaderFactory implementations that return MultiReader
--------------------------------------------------------------------------------

                 Key: SOLR-1802
                 URL: https://issues.apache.org/jira/browse/SOLR-1802
             Project: Solr
          Issue Type: Bug
          Components: search
    Affects Versions: 1.4
            Reporter: John Wang


When an IndexReaderFactory returns an instance of MultiReader, Solr tries to 
call reader.directory() and reader.getVersion, which results an 
UnsupportedOperationException.

Custom IndexReaderFactory implementations that return MultiReader instances are 
common, and I don't there there are documentations that discourage this.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to