Hi Alex, We have had similar reports of certain environments not being able to deal with ICU4NET. Basically, to fix this right we need to port over the BreakIterator, RuleBasedCollator, and dependencies from the JDK. As a shortcut ICU4NET (which has a working BreakIterator) was referenced to try to avoid some of this extra porting work. However, it is clear now that this solution isn't going to work for the long term.
We are considering options - and one option is to just remove Analysis.Th and the SegmentingTokenizerBase from Analysis.Common and putting Thai support into its own NuGet package, since those are the only parts of Analysis.Common that actually depend on ICU4NET. So for the time being the known options you have to resolve this are: 1. Remove the Analysis.Common reference from your project if it is not absolutely required. 2. Fork the project and make your own Analysis.Common build that doesn't include Analysis.Th, Analysis.Util.SegmentingTokenizerBase, or the reference to ICU4NET. 3. Help us out by porting over the BreakIterator from the JDK, which will resolve the issue permanently (and consider porting the related Collator classes which have common dependencies to BreakIterator). Do note we will also need BreakIterator for Lucene.Net.Highlighter (which affects more than just Thai support). 4. Wait for us to port BreakIterator or come up with an alternative solution (which might take some time to do). There might be other options - you might also want query Google about using ICU4NET in an IIS hosted application, or perhaps something more general about having a dependency with ICU4NET's particular architecture (not sure what that is, exactly). Thanks, Shad Storhaug (NightOwl888) -----Original Message----- From: Sent: Sunday, October 23, 2016 12:54 PM To: [email protected]; [email protected] Subject: RE: [NuGet Gallery] Message for owners of the package 'Lucene.Net' Hey Alex - Forwarding this to the dev mailing list. Hopefully one of the guys there can give you some better insight than I can. ~P From: [email protected] [mailto:[email protected]] Sent: Saturday, October 22, 2016 7:25 PM To: Prescott Nasser <[email protected]> Subject: Re: [NuGet Gallery] Message for owners of the package 'Lucene.Net' Hi Prescott, I'm really excited about this new version of Lucene.net and spent the last two nights converting my 3.0.3 code to 4.8. The new version actually helped me kick out some code I had ported myself for features not available in 3.0.3. and most of my UnitTests run through. Now comes the big disappointment: My application is an IIS-hosted WCF-Service which uses Lucene.net in the background to perform searching. But when I try to start the service, I get the following exception: "File or Assembly ICU4NET or one of its dependencies not found" (I'm using the Analysis package). This is what I tried so far: I verified the installation of all packages by uninstalling and reinstalling them from your MyGet repository. I copied the ICU*.DLL files to the windows\system32 directory. I added a path variable to the application bin-directory where the files usually reside. I tried compiling as a 32bit application. All to no avail. Is this a known issue? Do you have any idea how this can be solved? Your help is greatly appreciated! Kind regards Alexander ________________________________ From: Prescott Nasser <[email protected]<mailto:[email protected]>> Sent: Friday, October 21, 2016 7:03 PM To: 'Alexander1967' Cc: [email protected]<mailto:[email protected]> Subject: RE: [NuGet Gallery] Message for owners of the package 'Lucene.Net' We're actively working towards a 4.8 release. Check it out: https://www.myget.org/gallery/lucene-net [https://mygetwww-2e16.kxcdn.com/Content/images/myget/logo.png?c=Mi4yLjAuMTEy]<https://www.myget.org/gallery/lucene-net> MyGet - Hosting your NuGet, Npm, Bower and Vsix packages<https://www.myget.org/gallery/lucene-net> www.myget.org<http://www.myget.org> Lucene.Net. Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users. The Lucene search library is based on an ... Best ~Prescott From: NuGet Gallery [mailto:[email protected]] Sent: Friday, October 21, 2016 11:59 AM To: csharptest.net <[email protected]<mailto:[email protected]>>; pnasser <[email protected]<mailto:[email protected]>>; simonech <[email protected]<mailto:[email protected]>> Subject: [NuGet Gallery] Message for owners of the package 'Lucene.Net' User Alexander1967 <[email protected]<mailto:[email protected]>> sends the following message to the owners of Package 'Lucene.Net'. Hello! I'm very fond of the Lucene.Net initiative and was wondering if there will be any further updates to the 3.0.3 version? It seems to have become a bit quite in regards to development activities and I couldn't really find any information on the future of Lucene.Net. Any feedback is welcomed! Kind regards Alexander ________________________________ To stop receiving contact emails as an owner of this package, sign in to the NuGet Gallery and change your email notification settings<https://u3342945.ct.sendgrid.net/wf/click?upn=hJjYwr6re7TWaT4l-2BWEkE-2Fm4TqAWAG4QtR6kHe3iFoOejR4gdbuAkeDt7uK9TYVL_PEP05NpK5f-2B6BWdhlyth133QDDyWtKdGTqe2oOVZQiynCsWfIOkh8igXLNgXZqN-2Be6o59-2Ba5QKNA3rJRjjjIPTv-2F8qUuTqhiihpiyJuk0mBSHh9VYXOcmmRiST8TRzbmu9eLG7Xj-2FTXX6Pvofxyqnq9svMTQfrcojw-2BEJsy1eTClmc51cBkXOfpbd-2BAjuaD-2BBazdKkVtxLF2zVelUDQNygpLAIX8szrk1FjUmQHQin4-3D>.
