lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Januario (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENENET-42) Hits class should have a friendlier interface
Date Wed, 24 Dec 2008 16:00:44 GMT

    [ https://issues.apache.org/jira/browse/LUCENENET-42?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659109#action_12659109
] 

Tim Januario commented on LUCENENET-42:
---------------------------------------

Copied from my comments on LUCENENET-43:
I agree with you George on this subject. The philosophy of the project is to make the port
as close as possible to the java source which has huge benefits moving forward as new releases
are made and need porting. Once divergences are made, it will not be possible to simply compare
two branches of the java code in order to identify the changes that need to be made to the
Lucene.Net code. In keeping with this philosophy, it would be beneficial to those of us who
are watching these threads to close the issues as "By Design" in order to not cause clutter.

thx


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


Mime
View raw message