SourceForge.net Logo
Main Overview Wiki Issues Forum Build Fisheye
Issue Details (XML | Word | Printable)

Key: CMP-538
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Shay Banon
Reporter: Jong Hian Zin
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Compass

IndexReader throws java.lang.UnsupportedOperationException

Created: 12/Feb/08 03:55 AM   Updated: 12/Feb/08 12:13 PM
Component/s: None
Affects Version/s: 2.0.0 M2
Fix Version/s: None

Environment: Lucene 2.3.0


 Description  « Hide
I got this error when calling directory() on IndexReader that is returned by LuceneSearchEngineInternalSearch.getReader():

java.lang.UnsupportedOperationException: This reader does not support this method.
at org.apache.lucene.index.IndexReader.directory(IndexReader.java:263)



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Shay Banon added a comment - 12/Feb/08 12:13 PM
This is not up to Compass, as you get this exception from Lucene. Why do you need the Directory for? Maybe I can expose a simpler API for this.