[Lucene.Net] Medium trust security issue

2011-05-01 Thread Richard Wilde
Hi I am running into problems using Lucence 2.9.2 in a medium trust environment, namely Rackspace cloud. I have added the following line to assembleyinfo.cs [assembly: AllowPartiallyTrustedCallers()] However the following code produces the error below FSDirectory directory = F

[Lucene.Net] Incubator PMC/Board report for May 2011 (lucene-net-dev@lucene.apache.org)

2011-05-01 Thread no-reply
Dear Lucene.NET Developers, This email was sent by an automated system on behalf of the Apache Incubator PMC. It is an initial reminder to give you plenty of time to prepare your quarterly board report. The board meeting is scheduled for Thurs, 19 May 2011, 10 am Pacific. The report for your

RE: [Lucene.Net] Medium trust security issue

2011-05-01 Thread Nicholas Paldino [.NET/C# MVP]
Richard, This is because the call to FileSupport.Sync ultimately calls SupportClass.Sync(FileStream) which ends up calling the FlushFileBuffers API function through the P/Invoke layer, which is disallowed in medium trust environment. However, this should be mitigated by the fact t