Hi,

I’m using Lucene from a mobile app (using Xamarin) via this project: 
https://github.com/chrigu-ebert/Xamarin-Lucene.Net

However, I would like to upgrade to a more recent Lucene.NET to address two 
issues I have. Briefly, the two issues I have are:

1. First-chance exceptions are raised on every search, such as “IOException: 
read past eof” and “LookaheadSuccess: Error in the application”
2. On a brand new install of my app, the first attempt to search results in an 
exception: "System.IO.IOException: Invalid handle to path 
"/private/var/mobile/Containers/Bundle/Application/EDDBC7B3-E54E-46CC-BC51-0CDE18A066F4/my.app/[Unknown]””

My understanding is that later versions of Lucene.NET have addressed #1. By 
upgrading I hope to also address #2, though even if I don’t I will be in a good 
position to look deeper into the matter.

As a starting point, I forked the Xamarin Lucene.NET project, cloned 
Lucene.NET, and wrote a little script to copy like-named files from the 
Lucene.NET source to the Xamarin Lucene.NET source. Catastrophe!

It became evident that there are a lot of files in the Lucene.NET code base 
that aren’t even part of the main solution. I’m trying to understand why this 
is.

An example of such a file is StopwordAnalyzerBase.cs. It resides under 
src\Lucene.Net.Analysis.Common\Analysis\Util, so going by the readme it should 
be part of the core code base. However, it is not present in the solution.

Can anyone tell me why this is?

Thanks,
Kent

Reply via email to