lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Lucene deleteDocuments(Term)not working in android working in desktop..
Date Tue, 17 Dec 2013 12:55:22 GMT
Hi ,

I tried Lucene 3.6 in both desktop and android and deleteDocuments is
working fine.

I tried Lucene Version 4.3 code in Desktop and android.In Desktop it is
deleting the index files without any problem.

In android,I changed the following files to avoid jar problem.

private final static Lucene42Codec _codec = new Lucene42Codec();

  public static Codec forName(String name) {
        return _codec;

 private final static Lucene42DocValuesFormat _format = new

  public static DocValuesFormat forName(String name) {
      return _format;

private final static Lucene41PostingsFormat _format = new

  public static PostingsFormat forName(String name) {
      return _format;

Please Kindly Help.

Thanks and Regards
Vignesh Srinivasan

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message