[Lucene.Net] [jira] [Commented] (LUCENENET-399) Port changes from Java Lucene 2.9.3 and 2.9.4 releases

2011-03-21 Thread Digy (JIRA)
[ https://issues.apache.org/jira/browse/LUCENENET-399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13009436#comment-13009436 ] Digy commented on LUCENENET-399: There are two public fields in TopDocs, "totalHits" an

Re: [Lucene.Net] Arithmetic Overflow

2011-03-21 Thread Troy Howard
I agree that it should not throw an overflow exception. That's not very helpful for debugging. The valid range of that parameter is essentially [0... Int32.MaxValue-1].. That's because it needs one extra slot in it's internal array, beyond the max size for juggling values during sort. The exceptio

RE: [Lucene.Net] Arithmetic Overflow

2011-03-21 Thread Digy
No, I don't think it is a bad design. It could be limited to some number, but what would it be? 10,100,1000,100 or 1? Besides that you have other alternatives to use while searching. DIGY. -Original Message- From: steven.h...@pattersoncompanies.com [mailto:steven.h...@patterso

RE: [Lucene.Net] Arithmetic Overflow

2011-03-21 Thread steven . hoff
While I understand that and thank you for taking the time to respond, my concern was that passing a perfectly valid parameter leads to an exception. So this is bad design. Regards, Steve Hoff From: "Digy" To: Date: 03/21/2011 01:53 PM Subject:RE: [Lucene.Net] Arithmetic O

[Lucene.Net] [jira] [Commented] (LUCENENET-391) Luke.Net for Lucene.Net

2011-03-21 Thread Amanuel Workneh (JIRA)
[ https://issues.apache.org/jira/browse/LUCENENET-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13009224#comment-13009224 ] Amanuel Workneh commented on LUCENENET-391: --- The bitbucket version is a WPF a