lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Digy" <>
Subject RE: API Inconsistency
Date Sun, 03 May 2009 21:18:05 GMT
Lucene.Net is supposed to be API/Index-level-compatible with Lucene.Java.
Please feel free to post your patches.


-----Original Message-----
From: Andrew Psaltis [] 
Sent: Sunday, May 03, 2009 2:58 PM
Subject: API Inconsistency

While looking at the latest MEAP edition of Lucene in Action and trying to
port Listing 10.2 from the Java to .NET, I noticed an inconsistency in the
DecRef and IncRef API of the IndexReader. The java version have the
following signature:


public synchronized void incRef()

public synchronized void decRef()


However, the .NET version (latest source fron SVN as of Thursday -4/30/2009)
has the following signatures:


protected internal virtual void  IncRef()

protected internal virtual void  DecRef()



Is this an acceptable deviation?






View raw message