Re: [Lucene.Net] [VOTE] Apache Lucene.Net-2.9.4-incubating

2011-10-30 Thread Stefan Bodewig
On 2011-10-31, Prescott Nasser wrote:

> Stefan - doc folder was left out intentionally for this reason.

OK.  I wonder whether it should be moved out of trunk.

> Also the Lib folder, I left out, I thought it was additional dll's
> that weren't part of Lucene that others might need. I can put that
> back in.

Please don't.  We'd need to review whether we can re-distribute all
those DLLs complying with ASF policies anyway.

Stefan


[Lucene.Net] [jira] [Updated] (LUCENENET-451) Missing License Headers in trunk

2011-10-30 Thread Stefan Bodewig (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENENET-451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Bodewig updated LUCENENET-451:
-

Attachment: LUCENENET-451.trunk.patch

Patch against trunk that adds licenses to most files that lack them.

Some patches look bigger than expected as I created them on Linux and many 
files lack the svn:eol-style Subversion property.

> Missing License Headers in trunk
> 
>
> Key: LUCENENET-451
> URL: https://issues.apache.org/jira/browse/LUCENENET-451
> Project: Lucene.Net
>  Issue Type: Bug
>Reporter: Stefan Bodewig
> Attachments: LUCENENET-451.trunk.patch
>
>
> Many files lack the ASF license headers, I'll attach a patch against trunk 
> shortly.
> I can provide patches against branches as well if this seems easier than 
> merging from trunk.
> So far I have deliberately skipped the docs and lib directories as docs seems 
> to contain generated files only and the lib folder is something that needs to 
> be talked about separately anyway.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[Lucene.Net] [jira] [Created] (LUCENENET-451) Missing License Headers in trunk

2011-10-30 Thread Stefan Bodewig (Created) (JIRA)
Missing License Headers in trunk


 Key: LUCENENET-451
 URL: https://issues.apache.org/jira/browse/LUCENENET-451
 Project: Lucene.Net
  Issue Type: Bug
Reporter: Stefan Bodewig


Many files lack the ASF license headers, I'll attach a patch against trunk 
shortly.

I can provide patches against branches as well if this seems easier than 
merging from trunk.

So far I have deliberately skipped the docs and lib directories as docs seems 
to contain generated files only and the lib folder is something that needs to 
be talked about separately anyway.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




RE: [Lucene.Net] [VOTE] Apache Lucene.Net-2.9.4-incubating

2011-10-30 Thread Prescott Nasser





Michael - how do we stand with the sandcastle documentation generation?. I'm 
not familiar with using it, but we basically have no real documentation for 
this. It would be great to be able to generate documentation that we can then 
bundle with 2.9.4.


Stefan - doc folder was left out intentionally for this reason. Also the Lib 
folder, I left out, I thought it was additional dll's that weren't part of 
Lucene that others might need. I can put that back in. Not even sure what the 
build.cmd file is, but I'll investigate and get it in there.

 

 





> From: bode...@apache.org
> To: lucene-net-...@incubator.apache.org
> Date: Mon, 31 Oct 2011 07:00:08 +0100
> Subject: Re: [Lucene.Net] [VOTE] Apache Lucene.Net-2.9.4-incubating
>
> On 2011-10-31, Prescott Nasser wrote:
>
> > Artifacts are located here:
> > http://people.apache.org/~pnasser/Lucene.Net/2.9.4-incubating-RC1/
>
> Is there a tag in svn that is supposed to correspond to them? My guess
> is .
> But then I find
>
> diff -ur svn/src/contrib/Similarity/Similar/MoreLikeThis.cs 
> Apache-Lucene.Net-2.
> 9.4-incubating-RC1.src/src/contrib/Similarity/Similar/MoreLikeThis.cs
> --- svn/src/contrib/Similarity/Similar/MoreLikeThis.cs 2011-04-23 
> 01:53:05.3476
> 64000 +0200
> +++ 
> Apache-Lucene.Net-2.9.4-incubating-RC1.src/src/contrib/Similarity/Similar/Mo
> reLikeThis.cs 2011-10-30 19:35:42.0 +0100
> @@ -769,7 +769,7 @@
> {
> for (int j = 0; j < text.Length; j++)
> {
> - AddTermFrequencies(new System.IO.StreamReader(text[
> j]), termFreqMap, fieldName);
> + AddTermFrequencies(new System.IO.StringReader(text[
> j]), termFreqMap, fieldName);
> }
> }
> }
> @@ -820,7 +820,7 @@
> /// 
> /// Used by analyzer for any special per-field
> analysis
> /// 
> - private void AddTermFrequencies(System.IO.StreamReader r, 
> System.Collections.IDictionary termFreqMap, System.String fieldName)
> + private void AddTermFrequencies(System.IO.TextReader r, 
> System.Collections.IDictionary termFreqMap, System.String fieldName)
> {
> TokenStream ts = analyzer.TokenStream(fieldName, r);
> Lucene.Net.Analysis.Token token;
>
> so they don't match.
>
> The src ZIP doesn't contain build.cmd nor the doc and lib folders. Is
> this intentional?
>
> Signatures and checksums match.
>
> The src ZIP contains .svn folders which I don't think they should. No
> biggie just something to fix for the next release or RC. Same for some
> .suo files and obj folders.
>
> The binary distribution needs LICENSE.txt and NOTICE.txt that I can't
> seem to find. This forces a -1 from me.
>
> The only other test I'd perform was running RAT which I'll do shortly
> and post the results here.
>
> Stefan  

RE: [Lucene.Net] [VOTE] Apache Lucene.Net-2.9.4-incubating

2011-10-30 Thread Prescott Nasser

I have to re tag the trunk because of the additional bug fix I put in this 
evening. So feel free to update the trunk, I'll re tag it 2.9.4 RC2 once that's 
ready

 

~Prescott


> From: bode...@apache.org
> To: lucene-net-...@incubator.apache.org
> Date: Mon, 31 Oct 2011 07:10:46 +0100
> Subject: Re: [Lucene.Net] [VOTE] Apache Lucene.Net-2.9.4-incubating
>
> On 2011-10-31, Stefan Bodewig wrote:
>
> > The only other test I'd perform was running RAT which I'll do shortly
> > and post the results here.
>
> The binary look good, but
>
> 
>
> Way too many files without license headers. I can and will provide a
> patch to trunk fixing issues there (my svn trunk version of RAT is
> better suited to do that than the latest release) but I recall this RC
> was created from a branch so it may be of more help if I created the
> patch for that one.
>
> Stefan  

Re: [Lucene.Net] [VOTE] Apache Lucene.Net-2.9.4-incubating

2011-10-30 Thread Stefan Bodewig
On 2011-10-31, Stefan Bodewig wrote:

> The only other test I'd perform was running RAT which I'll do shortly
> and post the results here.

The binary look good, but



Way too many files without license headers.  I can and will provide a
patch to trunk fixing issues there (my svn trunk version of RAT is
better suited to do that than the latest release) but I recall this RC
was created from a branch so it may be of more help if I created the
patch for that one.

Stefan


RE: [Lucene.Net] [VOTE] Apache Lucene.Net-2.9.4-incubating

2011-10-30 Thread Prescott Nasser

bleh - forgot to update the branch.

 

And yay for windows hiding those svn files.. 

 

I'll give it a day or so and see what others might say then update it and call 
a new vote.

 

Thanks for taking the time to review

 

~P


> From: bode...@apache.org
> To: lucene-net-...@incubator.apache.org
> Date: Mon, 31 Oct 2011 07:00:08 +0100
> Subject: Re: [Lucene.Net] [VOTE] Apache Lucene.Net-2.9.4-incubating
>
> On 2011-10-31, Prescott Nasser wrote:
>
> > Artifacts are located here:
> > http://people.apache.org/~pnasser/Lucene.Net/2.9.4-incubating-RC1/
>
> Is there a tag in svn that is supposed to correspond to them? My guess
> is .
> But then I find
>
> diff -ur svn/src/contrib/Similarity/Similar/MoreLikeThis.cs 
> Apache-Lucene.Net-2.
> 9.4-incubating-RC1.src/src/contrib/Similarity/Similar/MoreLikeThis.cs
> --- svn/src/contrib/Similarity/Similar/MoreLikeThis.cs 2011-04-23 
> 01:53:05.3476
> 64000 +0200
> +++ 
> Apache-Lucene.Net-2.9.4-incubating-RC1.src/src/contrib/Similarity/Similar/Mo
> reLikeThis.cs 2011-10-30 19:35:42.0 +0100
> @@ -769,7 +769,7 @@
> {
> for (int j = 0; j < text.Length; j++)
> {
> - AddTermFrequencies(new System.IO.StreamReader(text[
> j]), termFreqMap, fieldName);
> + AddTermFrequencies(new System.IO.StringReader(text[
> j]), termFreqMap, fieldName);
> }
> }
> }
> @@ -820,7 +820,7 @@
> /// 
> /// Used by analyzer for any special per-field
> analysis
> /// 
> - private void AddTermFrequencies(System.IO.StreamReader r, 
> System.Collections.IDictionary termFreqMap, System.String fieldName)
> + private void AddTermFrequencies(System.IO.TextReader r, 
> System.Collections.IDictionary termFreqMap, System.String fieldName)
> {
> TokenStream ts = analyzer.TokenStream(fieldName, r);
> Lucene.Net.Analysis.Token token;
>
> so they don't match.
>
> The src ZIP doesn't contain build.cmd nor the doc and lib folders. Is
> this intentional?
>
> Signatures and checksums match.
>
> The src ZIP contains .svn folders which I don't think they should. No
> biggie just something to fix for the next release or RC. Same for some
> .suo files and obj folders.
>
> The binary distribution needs LICENSE.txt and NOTICE.txt that I can't
> seem to find. This forces a -1 from me.
>
> The only other test I'd perform was running RAT which I'll do shortly
> and post the results here.
>
> Stefan  

Re: [Lucene.Net] [VOTE] Apache Lucene.Net-2.9.4-incubating

2011-10-30 Thread Stefan Bodewig
On 2011-10-31, Prescott Nasser wrote:

> Artifacts are located here:
> http://people.apache.org/~pnasser/Lucene.Net/2.9.4-incubating-RC1/

Is there a tag in svn that is supposed to correspond to them?  My guess
is .
But then I find

diff -ur svn/src/contrib/Similarity/Similar/MoreLikeThis.cs Apache-Lucene.Net-2.
9.4-incubating-RC1.src/src/contrib/Similarity/Similar/MoreLikeThis.cs
--- svn/src/contrib/Similarity/Similar/MoreLikeThis.cs  2011-04-23 01:53:05.3476
64000 +0200
+++ Apache-Lucene.Net-2.9.4-incubating-RC1.src/src/contrib/Similarity/Similar/Mo
reLikeThis.cs   2011-10-30 19:35:42.0 +0100
@@ -769,7 +769,7 @@
 {
 for (int j = 0; j < text.Length; j++)
 {
-AddTermFrequencies(new System.IO.StreamReader(text[
j]), termFreqMap, fieldName);
+AddTermFrequencies(new System.IO.StringReader(text[
j]), termFreqMap, fieldName);
 }
 }
 }
@@ -820,7 +820,7 @@
 /// 
 /// Used by analyzer for any special per-field 
analysis
 /// 
-private void  AddTermFrequencies(System.IO.StreamReader r, 
System.Collections.IDictionary termFreqMap, System.String fieldName)
+private void  AddTermFrequencies(System.IO.TextReader r, 
System.Collections.IDictionary termFreqMap, System.String fieldName)
 {
 TokenStream ts = analyzer.TokenStream(fieldName, r);
 Lucene.Net.Analysis.Token token;

so they don't match.

The src ZIP doesn't contain build.cmd nor the doc and lib folders.  Is
this intentional?

Signatures and checksums match.

The src ZIP contains .svn folders which I don't think they should.  No
biggie just something to fix for the next release or RC.  Same for some
.suo files and obj folders.

The binary distribution needs LICENSE.txt and NOTICE.txt that I can't
seem to find.  This forces a -1 from me.

The only other test I'd perform was running RAT which I'll do shortly
and post the results here.

Stefan


RE: [Lucene.Net] [VOTE] Apache Lucene.Net-2.9.4-incubating

2011-10-30 Thread Prescott Nasser

+1



> From: geobmx...@hotmail.com
> To: lucene-net-dev@lucene.apache.org
> Date: Sun, 30 Oct 2011 22:08:32 -0700
> Subject: [Lucene.Net] [VOTE] Apache Lucene.Net-2.9.4-incubating
>
>
> Artifacts are located here: 
> http://people.apache.org/~pnasser/Lucene.Net/2.9.4-incubating-RC1/
>
>
> If the vote passes here, I will move the artifacts to staging and call a vote 
> on the general incubator mailing list
>
>
>
> Please verify the release and cast your vote. The vote will be open for 72 
> hours.
>
> [ ] +1
> [ ] 0
> [ ] -1
>
>
>
>
>
> ~Prescott   

[Lucene.Net] [VOTE] Apache Lucene.Net-2.9.4-incubating

2011-10-30 Thread Prescott Nasser

Artifacts are located here: 
http://people.apache.org/~pnasser/Lucene.Net/2.9.4-incubating-RC1/


If the vote passes here, I will move the artifacts to staging and call a vote 
on the general incubator mailing list

 

Please verify the release and cast your vote.  The vote will be open for 72 
hours.

[ ] +1
[ ]  0
[ ] -1

 

 

~Prescott 

RE: [Lucene.Net] 2.9.4 RC1

2011-10-30 Thread Prescott Nasser

>
> > Done - i've uploaded the new files to the same place. I actually found
> > an issue with the bin.zip file, so it was good that I merged that bug
> > fix in.
>
> I'm pretty sure you know that, but if you decide to do something like
> this after you've started the vote, please cancel the vote, bump the RC
> number and start a new vote.


Check

 

>
> > If you guys don't mind taking a look, I'd like to submit it to the
> > incubator mailing list for a vote tomorrow if we have no issues with
> > these
>
> Start a VOTE thread on this list and if it passes go to the general
> list. If all mentors vote on this list the VOTE on the general list is
> more informational than anything else.
>

 

Done!


> I'll look into the ZIPs myself in a few hours so you'll know how I'm
> going to vote 8-)
>
> Stefan  

Re: [Lucene.Net] 2.9.4 RC1

2011-10-30 Thread Stefan Bodewig
Hi Prescott,

thank you for pushing things forward.

On 2011-10-31, Prescott Nasser wrote:

> Done - i've uploaded the new files to the same place. I actually found
> an issue with the bin.zip file, so it was good that I merged that bug
> fix in.

I'm pretty sure you know that, but if you decide to do something like
this after you've started the vote, please cancel the vote, bump the RC
number and start a new vote.

> If you guys don't mind taking a look, I'd like to submit it to the
> incubator mailing list for a vote tomorrow if we have no issues with
> these

Start a VOTE thread on this list and if it passes go to the general
list.  If all mentors vote on this list the VOTE on the general list is
more informational than anything else.

I'll look into the ZIPs myself in a few hours so you'll know how I'm
going to vote 8-)

Stefan


RE: [Lucene.Net] 2.9.4 RC1

2011-10-30 Thread Prescott Nasser

Done - i've uploaded the new files to the same place. I actually found an issue 
with the bin.zip file, so it was good that I merged that bug fix in.

 

If you guys don't mind taking a look, I'd like to submit it to the incubator 
mailing list for a vote tomorrow if we have no issues with these

 

~Prescott


> Date: Mon, 31 Oct 2011 01:14:52 +0200
> From: ita...@code972.com
> To: lucene-net-dev@lucene.apache.org
> Subject: Re: [Lucene.Net] 2.9.4 RC1
>
> Any chance you guys fix and merge this
> https://issues.apache.org/jira/browse/LUCENENET-450 before releasing?
>
> On Sun, Oct 30, 2011 at 11:12 PM, Prescott Nasser 
> wrote:
>
> >
> >
> >
> > Alright- this took me way too long, I'm sorry for that.
> >
> >
> >
> > Could you guys please take a look at:
> > http://people.apache.org/~pnasser/Lucene.Net/2.9.4-incubating-RC1/hopefully 
> > I've done this right, once you guys think it looks good, I'd like
> > to call a vote to release this
> >
> >
> >
> > ~Prescott
> >   

[Lucene.Net] [jira] [Resolved] (LUCENENET-450) Incorrect use of StreamReader in MoreLikeThis

2011-10-30 Thread Prescott Nasser (Resolved) (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENENET-450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Prescott Nasser resolved LUCENENET-450.
---

   Resolution: Fixed
Fix Version/s: Lucene.Net 2.9.4g
   Lucene.Net 2.9.4
 Assignee: Prescott Nasser

> Incorrect use of StreamReader in MoreLikeThis
> -
>
> Key: LUCENENET-450
> URL: https://issues.apache.org/jira/browse/LUCENENET-450
> Project: Lucene.Net
>  Issue Type: Bug
>  Components: Lucene.Net Contrib
>Affects Versions: Lucene.Net 2.9.2, Lucene.Net 2.9.4, Lucene.Net 3.x
>Reporter: Itamar Syn-Hershko
>Assignee: Prescott Nasser
> Fix For: Lucene.Net 2.9.4, Lucene.Net 2.9.4g
>
> Attachments: Lucenenet-450.patch
>
>
> In the MoreLike this implementation (looking at the trunk), line 772 
> incorrectly creates a new StreamReader instead of using StringReader. This 
> causes the following exception to be thrown, since the ctor expects a file 
> path and not an input string:
> System.ArgumentException: Illegal characters in path.
>at 
> System.Security.Permissions.FileIOPermission.HasIllegalCharacters(String[] 
> str)
>at 
> System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess
>  access, AccessControlActions control, String[] pathListOrig, Boolean 
> checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
>at 
> System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess 
> access, AccessControlActions control, String[] pathList, Boolean 
> checkForDuplicates, Boolean needFullPath)
>at System.IO.FileStream.Init(String path, FileMode mode, FileAccess 
> access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, 
> FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean 
> bFromProxy, Boolean useLongPath)
>at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess 
> access, FileShare share, Int32 bufferSize, FileOptions options, String 
> msgPath, Boolean bFromProxy)
>at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess 
> access, FileShare share, Int32 bufferSize, FileOptions options)
>at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean 
> detectEncodingFromByteOrderMarks, Int32 bufferSize)
>at System.IO.StreamReader..ctor(String path, Boolean 
> detectEncodingFromByteOrderMarks)
>at Similarity.Net.MoreLikeThis.RetrieveTerms(Int32 docNum) in 
> MoreLikeThis.cs:line 773
>at Similarity.Net.MoreLikeThis.Like(Int32 docNum) in MoreLikeThis.cs:line 
> 507
> Simply replacing StreamReader with StringReader will do the job

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[Lucene.Net] [jira] [Updated] (LUCENENET-450) Incorrect use of StreamReader in MoreLikeThis

2011-10-30 Thread Prescott Nasser (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENENET-450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Prescott Nasser updated LUCENENET-450:
--

Affects Version/s: (was: Lucene.Net 2.9.4g)
Fix Version/s: (was: Lucene.Net 2.9.4g)

Similarity isn't in 2.9.4g

> Incorrect use of StreamReader in MoreLikeThis
> -
>
> Key: LUCENENET-450
> URL: https://issues.apache.org/jira/browse/LUCENENET-450
> Project: Lucene.Net
>  Issue Type: Bug
>  Components: Lucene.Net Contrib
>Affects Versions: Lucene.Net 2.9.2, Lucene.Net 2.9.4, Lucene.Net 3.x
>Reporter: Itamar Syn-Hershko
>Assignee: Prescott Nasser
> Fix For: Lucene.Net 2.9.4
>
> Attachments: Lucenenet-450.patch
>
>
> In the MoreLike this implementation (looking at the trunk), line 772 
> incorrectly creates a new StreamReader instead of using StringReader. This 
> causes the following exception to be thrown, since the ctor expects a file 
> path and not an input string:
> System.ArgumentException: Illegal characters in path.
>at 
> System.Security.Permissions.FileIOPermission.HasIllegalCharacters(String[] 
> str)
>at 
> System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess
>  access, AccessControlActions control, String[] pathListOrig, Boolean 
> checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
>at 
> System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess 
> access, AccessControlActions control, String[] pathList, Boolean 
> checkForDuplicates, Boolean needFullPath)
>at System.IO.FileStream.Init(String path, FileMode mode, FileAccess 
> access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, 
> FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean 
> bFromProxy, Boolean useLongPath)
>at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess 
> access, FileShare share, Int32 bufferSize, FileOptions options, String 
> msgPath, Boolean bFromProxy)
>at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess 
> access, FileShare share, Int32 bufferSize, FileOptions options)
>at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean 
> detectEncodingFromByteOrderMarks, Int32 bufferSize)
>at System.IO.StreamReader..ctor(String path, Boolean 
> detectEncodingFromByteOrderMarks)
>at Similarity.Net.MoreLikeThis.RetrieveTerms(Int32 docNum) in 
> MoreLikeThis.cs:line 773
>at Similarity.Net.MoreLikeThis.Like(Int32 docNum) in MoreLikeThis.cs:line 
> 507
> Simply replacing StreamReader with StringReader will do the job

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[Lucene.Net] [jira] [Updated] (LUCENENET-450) Incorrect use of StreamReader in MoreLikeThis

2011-10-30 Thread Prescott Nasser (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENENET-450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Prescott Nasser updated LUCENENET-450:
--

Attachment: Lucenenet-450.patch

Attached patch; also merged to the trunk

> Incorrect use of StreamReader in MoreLikeThis
> -
>
> Key: LUCENENET-450
> URL: https://issues.apache.org/jira/browse/LUCENENET-450
> Project: Lucene.Net
>  Issue Type: Bug
>  Components: Lucene.Net Contrib
>Affects Versions: Lucene.Net 2.9.2, Lucene.Net 2.9.4, Lucene.Net 3.x, 
> Lucene.Net 2.9.4g
>Reporter: Itamar Syn-Hershko
> Attachments: Lucenenet-450.patch
>
>
> In the MoreLike this implementation (looking at the trunk), line 772 
> incorrectly creates a new StreamReader instead of using StringReader. This 
> causes the following exception to be thrown, since the ctor expects a file 
> path and not an input string:
> System.ArgumentException: Illegal characters in path.
>at 
> System.Security.Permissions.FileIOPermission.HasIllegalCharacters(String[] 
> str)
>at 
> System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess
>  access, AccessControlActions control, String[] pathListOrig, Boolean 
> checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
>at 
> System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess 
> access, AccessControlActions control, String[] pathList, Boolean 
> checkForDuplicates, Boolean needFullPath)
>at System.IO.FileStream.Init(String path, FileMode mode, FileAccess 
> access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, 
> FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean 
> bFromProxy, Boolean useLongPath)
>at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess 
> access, FileShare share, Int32 bufferSize, FileOptions options, String 
> msgPath, Boolean bFromProxy)
>at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess 
> access, FileShare share, Int32 bufferSize, FileOptions options)
>at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean 
> detectEncodingFromByteOrderMarks, Int32 bufferSize)
>at System.IO.StreamReader..ctor(String path, Boolean 
> detectEncodingFromByteOrderMarks)
>at Similarity.Net.MoreLikeThis.RetrieveTerms(Int32 docNum) in 
> MoreLikeThis.cs:line 773
>at Similarity.Net.MoreLikeThis.Like(Int32 docNum) in MoreLikeThis.cs:line 
> 507
> Simply replacing StreamReader with StringReader will do the job

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




Re: [Lucene.Net] 2.9.4 RC1

2011-10-30 Thread Itamar Syn-Hershko
Any chance you guys fix and merge this
https://issues.apache.org/jira/browse/LUCENENET-450 before releasing?

On Sun, Oct 30, 2011 at 11:12 PM, Prescott Nasser wrote:

>
>
>
> Alright- this took me way too long, I'm sorry for that.
>
>
>
> Could you guys please take a look at:
> http://people.apache.org/~pnasser/Lucene.Net/2.9.4-incubating-RC1/hopefully 
> I've done this right, once you guys think it looks good, I'd like
> to call a vote to release this
>
>
>
> ~Prescott
>


[Lucene.Net] 2.9.4 RC1

2011-10-30 Thread Prescott Nasser



Alright- this took me way too long, I'm sorry for that. 

 

Could you guys please take a look at: 
http://people.apache.org/~pnasser/Lucene.Net/2.9.4-incubating-RC1/ hopefully 
I've done this right, once you guys think it looks good, I'd like to call a 
vote to release this 

 

~Prescott