Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2313410954 for ; Tue, 17 Dec 2013 13:29:55 +0000 (UTC) Received: (qmail 32346 invoked by uid 500); 17 Dec 2013 13:29:52 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 32304 invoked by uid 500); 17 Dec 2013 13:29:51 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 32296 invoked by uid 99); 17 Dec 2013 13:29:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Dec 2013 13:29:51 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of vigneshklncit@gmail.com designates 74.125.82.50 as permitted sender) Received: from [74.125.82.50] (HELO mail-wg0-f50.google.com) (74.125.82.50) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Dec 2013 13:29:45 +0000 Received: by mail-wg0-f50.google.com with SMTP id a1so6068445wgh.5 for ; Tue, 17 Dec 2013 05:29:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=H9ZDinIPMYHI40RkO49pYb4+H+0yIUUekfoyzev8EUw=; b=LxnxgL57NjcTtKnpJ7y9xG3+9HWFto8zY4g0C2GHwWh6rykyZBI9V643e0TDQIp078 ttkKa1GMqwbqz1d/LDTfDEg0kB3JENfy5sxZGZoxsO7cCsXA0g3d6BHA+49PY8AOQgzr nE7QahGbWC284P4oAyRfHpDc5UuFAeCl4T1NUTj1ZoIfabhjN8FsHIqPCNFWB+VVsJ6T VxtQWn6WJK3/FISdj7YLAV2BQOGZhrDD7RHEHFeo+9C+3pqRHExDw88avarlUtKdeKcL b15kmoqRkPwsAcG/kYt8X8FyA8eHlmlUxLn3ldDotFnZJ0JO3eOr56H93DwupyVqVe8M avaA== MIME-Version: 1.0 X-Received: by 10.180.83.1 with SMTP id m1mr3146270wiy.9.1387286964674; Tue, 17 Dec 2013 05:29:24 -0800 (PST) Received: by 10.194.235.228 with HTTP; Tue, 17 Dec 2013 05:29:24 -0800 (PST) In-Reply-To: <02ca01cefb2a$73f29900$5bd7cb00$@thetaphi.de> References: <02ca01cefb2a$73f29900$5bd7cb00$@thetaphi.de> Date: Tue, 17 Dec 2013 18:59:24 +0530 Message-ID: Subject: Re: Lucene deleteDocuments(Term)not working in android working in desktop.. From: VIGNESH S To: java-user@lucene.apache.org Content-Type: multipart/alternative; boundary=f46d04428dd4bb26e204edbaea86 X-Virus-Checked: Checked by ClamAV on apache.org --f46d04428dd4bb26e204edbaea86 Content-Type: text/plain; charset=ISO-8859-1 Hi Uwe, Thanks for the Suggestion.The same code iam using in desktop too not jars. DeleteIndex is working in desktop not in Android. please kindly suggest or help.. On Tue, Dec 17, 2013 at 6:48 PM, Uwe Schindler wrote: > You have to ship the APK with all files in the META-INF folder of Lucene's > JAR files (merged together if there are multiple files with same name). > Those must be also available in the APK in the sub-folder META-INF. You can > use the Maven Shade Plugin to do this (not sure how to use that with > apkbuilder). > > Uwe > > ----- > Uwe Schindler > H.-H.-Meier-Allee 63, D-28213 Bremen > http://www.thetaphi.de > eMail: uwe@thetaphi.de > > > > -----Original Message----- > > From: VIGNESH S [mailto:vigneshklncit@gmail.com] > > Sent: Tuesday, December 17, 2013 1:55 PM > > To: java-user@lucene.apache.org > > Subject: Lucene deleteDocuments(Term)not working in android working in > > desktop.. > > > > 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. > > {Codec.java,DocValuesFormat.java,PostingsFormat.java} > > > > > > private final static Lucene42Codec _codec = new Lucene42Codec(); > > > > public static Codec forName(String name) { > > return _codec; > > } > > > > private final static Lucene42DocValuesFormat _format = new > > Lucene42DocValuesFormat(); > > > > public static DocValuesFormat forName(String name) { > > return _format; > > } > > > > private final static Lucene41PostingsFormat _format = new > > Lucene41PostingsFormat(); > > > > public static PostingsFormat forName(String name) { > > return _format; > > } > > > > > > Please Kindly Help. > > > > > > > > > > > > -- > > Thanks and Regards > > Vignesh Srinivasan > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > > -- Thanks and Regards Vignesh Srinivasan 9739135640 --f46d04428dd4bb26e204edbaea86--