lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Digy (JIRA)" <>
Subject [jira] Commented: (LUCENENET-182) Public fields of StringIndex class should have C# like names
Date Wed, 20 May 2009 16:20:45 GMT


Digy commented on LUCENENET-182:

Hi Neal,

IndexSearcher#getIndexReader  --> IndexSearcher#GetIndexReader
IndexSearcher#close --> IndexSearcher#Close
QueryParser#parse --> QueryParser#Parse 

these kind of changes are already made throughout  the Lucene.Net.

So, I can't see any reason why we shouldn't change
StringIndex#loopup to StringIndex#Loopup 
StringIndex#order to StringIndex#Order

Lucene.Net sticks to the APIs and classes used in the original Java implementation of Lucene.
The API names as well as class names are preserved with the intention of giving Lucene.Net
the look and feel of the C# language and the .NET Framework. For example, the method Hits.length()
in the Java implementation now reads Hits.Length() in the C# port. 


> Public fields of StringIndex class should have C# like names
> ------------------------------------------------------------
>                 Key: LUCENENET-182
>                 URL:
>             Project: Lucene.Net
>          Issue Type: Improvement
>         Environment: Lucene.Net 2.3.2
>            Reporter: Digy
>            Priority: Trivial
>         Attachments: LUCENENET-182.patch, LUCENENET-182.patch
> Public fields (lookup, order)  of Lucene.Net.Search.StringIndex  can be/are used outside
of Lucene.Net and their names should be compatible with C#.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message