I think it's because we use a WeakReference that inherits from
WeakReference, which in turn, requires has this security attribute:
"SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags =
SecurityPermissionFlag.UnmanagedCode)]". I'm going to test on a
machine with a medium trust CAS
Hi,
It got worse. Building a custom AttributeFactory can only handle a few
cases, I needed to subclass _every_ TokenStream/TokenFilter to override
all attribute-handling methods (AddAttribute, GetAttribute, etc), and
all analyzers to use these streams, to use a dictionary with strong
referenc
It'd be nice to understand where this issue is coming from as it wasn't in
2.9.4 rather than jumping to a quick fix imo. I'll dig a bit myself
~P
> Date: Tue, 14 Aug 2012 17:32:29 +0200
> From: si...@devhost.se
> To: lucene-net-dev@lucene.apache.org
> Subject: Re:
here this issue is coming from as it wasn't in
> 2.9.4 rather than jumping to a quick fix imo. I'll dig a bit myself
> ~P
>
>> Date: Tue, 14 Aug 2012 17:32:29 +0200
>> From: si...@devhost.se
>> To: lucene-net-dev@lucene.apache.org
>> Subject: Re: Lucene.Net
to understand where this issue is coming from as it wasn't in
>> 2.9.4 rather than jumping to a quick fix imo. I'll dig a bit myself
>> ~P
>>
>>> Date: Tue, 14 Aug 2012 17:32:29 +0200
>>> From: si...@devhost.se
>>> To: lucene-net-dev@lucene.apac
ssage-
From: Christopher Currens [mailto:currens.ch...@gmail.com]
Sent: Tuesday, August 14, 2012 12:16 PM
To: lucene-net-dev@lucene.apache.org
Subject: Re: Lucene.Net 3.0.3 and medium trust
We should probably try and have unit tests that will spin up medium trust app
domains and run some basi
ch...@gmail.com]
> Sent: Tuesday, August 14, 2012 12:16 PM
> To: lucene-net-dev@lucene.apache.org
> Subject: Re: Lucene.Net 3.0.3 and medium trust
>
> We should probably try and have unit tests that will spin up medium trust app
> domains and run some basic tests in them, so we