Re: How to delete partial index

2006-12-12 Thread spinergywmy
Hi, I manage to delete the document based on term, but that is just 1 part. I wonder do lucene support how I can pull out the info that I have been indexed and place it into other index file. Is it the only way that I have to use indexwriter to perform indexing again with all the necessary fie

Re: How to delete partial index

2006-12-12 Thread Erick Erickson
you have to search against something known. You simply (as has been mentioned many times) cannot rely on the document IDs. So, I'd store the full path (untokenized) of the file. When you move a file, search for the path in the appropriate field in your index that the file was originally stored in

Re: How to delete partial index

2006-12-12 Thread spinergywmy
Hi, When I perform delete document and delete document based on the Id, does the Id is the unique key and by deleting based on the Id, all the related info will be deleted as well? If so, how can I know the document Id? Thanks. regards, Wooi Meng -- View this message in context: http://www

Re: How to delete partial index

2006-12-12 Thread spinergywmy
Hi, I m just wondering is there any unique key that I can use to delete particular document? How can I check the postion of a particular document inside index file? Is there any example that I can refer to on how to delete documents by a term. For second scenario, the reason why I m doing

Re: How to delete partial index

2006-12-12 Thread Doron Cohen
spinergywmy <[EMAIL PROTECTED]> wrote: > > Hi, > >I have ask this question before but may be the question wasn't clear. > >How can I delete particular index that I want to and keep the rest? For > instance, I have been indexed document Id, date, user Id and contents, my > question is does t