I try to call FSDirectory.open
FSDirectory.open(File.open('index', 'w+'))
NameError: no method 'open' for arguments (org.jruby.RubyFile) on Java::OrgApacheLuceneStore::FSDirectory
String gives a similar error.
I try to call FSDirectory.open
FSDirectory.open(File.open('index', 'w+'))
NameError: no method 'open' for arguments (org.jruby.RubyFile) on Java::OrgApacheLuceneStore::FSDirectory
String gives a similar error.
java.io.File. If you want its methods, use it explicitly.