You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Michael Primeaux (JIRA)" <ji...@apache.org> on 2007/06/22 18:44:25 UTC
[jira] Issue Comment Edited: (LUCENENET-42) Hits class should have
a friendlier interface
[ https://issues.apache.org/jira/browse/LUCENENET-42?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507445 ]
Michael Primeaux edited comment on LUCENENET-42 at 6/22/07 9:42 AM:
--------------------------------------------------------------------
I completely agree. To be candid, the entire set of APIs should be reworked to be more in line with framework design guideline best practices; especially within .NET.
was:
I completely agree. To be candid, the entire API should be reworked to be more in line with best practices within the .NET framework design guidelines.
> Hits class should have a friendlier interface
> ---------------------------------------------
>
> Key: LUCENENET-42
> URL: https://issues.apache.org/jira/browse/LUCENENET-42
> Project: Lucene.Net
> Issue Type: Improvement
> Reporter: Simone Busoli
> Priority: Trivial
>
> Retrieving the information about each hit is not very straightforward. It is actually implemented as a method - Hits.Doc(i) - but .NET provides indexers which are much more usable, that is, Hits[i]. Furthermore it should be made easier to iterate through hits, implementing the IEnumerable interface.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.