In tests I'm porting following set of methods from IndexWriter is used:

  //for test purposes
  int32_t getDocCount(int32_t i);
  int32_t getNumBufferedDocuments();
  int32_t getSegmentCount();
  int32_t getBufferedDeleteTermsSize();
  int32_t getNumBufferedDeleteTerms();
  SegmentInfo* newestSegment();

The problem is all methods are marked private. In JLucene methods are without 
public/private definition,
so they are accessible from classes in same package (and test are in same 
package).
Such thing is not possible in C++, so I think methods should be changed to 
public. Otherwise tests cannot
be ported.

Any other opinion?

Borek










------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers

Reply via email to