lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34995] - Contribution: LuceneIndexAccessor
Date Fri, 20 May 2005 23:38:39 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34995>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34995





------- Additional Comments From daniel.naber@t-online.de  2005-05-21 01:38 -------
This code leads to a NullPointerException for me: 
 
    Directory directory = new RAMDirectory();  
    IIndexAccessProvider accessProvider = 
            new IndexAccessProvider(directory, new StandardAnalyzer()); 
    ILuceneIndexAccessor accessor = new LuceneIndexAccessor(accessProvider); 
    accessor.open(); 
    IndexWriter writer = accessor.getWriter(); 
 
As the IndexAccessProvider takes a Directory users will expect that it works 
with any kind of Directory... 
 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message