diqui" <[EMAIL PROTECTED]>
10/15/2006 01:58 AM
Please respond to
java-user@lucene.apache.org
To
java-user@lucene.apache.org
cc
Subject
problem deleting documents
hi guys
i am having problem deleting documents .. apparently its not doin it..
here
is the code snippet
public v
thanks, it worked
On 10/15/06, Doron Cohen <[EMAIL PROTECTED]> wrote:
> now pk is primary key which i am storing but not indexing it..
> doc.add(new Field("pk", message.getId().toString(),Field.Store.YES,
> Field.Index.NO));
You would need to index it for this to work.
> now pk is primary key which i am storing but not indexing it..
> doc.add(new Field("pk", message.getId().toString(),Field.Store.YES,
> Field.Index.NO));
You would need to index it for this to work.
>From javadocs for IndexReader.deleteDocuments(Term):
Deletes all docum
hi guys
i am having problem deleting documents .. apparently its not doin it.. here
is the code snippet
public void delete(final BoardMessage message)
{
try{
IndexReader fsReader;
if (index.exists()) {
fsReader =IndexReader.open(index