lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <ian....@gmail.com>
Subject Re: Deletion of Index not happening in Lucene 4.3
Date Fri, 29 Nov 2013 10:56:02 GMT
How do you know it's not working?  My favourite suggestion: post a
very small self-contained RAMDirectory based program or test case, or
maybe 2 in this case, for 3.6 and 4.3, that demonstrates the problem.


--
Ian.


On Fri, Nov 29, 2013 at 6:00 AM, VIGNESH S <vigneshklncit@gmail.com> wrote:
> Hi,
>
> I try deleting the document from the Index like below.It is working in case
> of Lucene 3.6.But document is not getting deleted  for Lucene 4.3
>
>
> Term term = new Term("path", value);
>
> mWriter.deleteDocuments(term);
> mWriter.commit();
>
> 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


Mime
View raw message