Open devheroo opened 8 years ago
Hi @devheroo. Thank you for your interest!
We haven't really thought about running FlexLucene on Mono/Linux.
After a quick glance at the exception message, it seems like the issue might be because of IKVM. (FlexLucene depends heavily on IKVM, as I'm sure you know). Others had problems with this as well:
https://sourceforge.net/p/ikvm/mailman/message/34911315/
I will investigate some more to see if there's something we can do about it.
Thanks a lot @vladnega , I appreciate getting back to me on this. It will be really amazing to get FlexLucene working on Mono and I will be glad to assist in any possible way. I will follow the IKVM mailing list and learn more about this.
First of all , Thanks so much for this awesome work that brought the latest of Lucene to the .NET platform. I have known Lucene for many years and always felt disappointed for not being able to use its latest version in my .NET projects.
I read that FlexSearch runs only on windows but what about FlexLucene? Is FlexLucene compatible with Mono and Linux ? if not, can you please explain why and what issues prevent FlexLucene from running on Mono ?
I wrote a small application to test it under Mono/Linux, this application has two parts: 1- part one, use in memory index (RAMDirectory) : indexing and search works fine! and that is amazing. 2- part two, use file system index (SimpleFSDirectory or NIOFSDirectory) : indexing fails with "System.TypeInitializationException" at the Open method:
FlexLucene.Store.Directory index = SimpleFSDirectory.Open(java.nio.file.Paths.get(ixdir));
I have seen the last issue of the GermanAnalyzer that generated a similar exception (System.TypeInitializationException) and I hope it is possible to have a solution also for the exception I am getting.
here is the full exception information: