[
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
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
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
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
[
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