DO NOT REPLY [Bug 34995] - Contribution: LuceneIndexAccessor

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

DO NOT REPLY [Bug 34995] - Contribution: LuceneIndexAccessor

Bugzilla from bugzilla@apache.org
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 [hidden email]  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: [hidden email]
For additional commands, e-mail: [hidden email]