Thank you DanKo, but as I have said before:
   
  "Then, I tried to deleted all files in the index directory, but I couldn't 
because KIM is using them."
   
  I tried to clearing the content of the  <KIM_HOME>\context\default\populated 
folder, but I want to do that automatically, by program, but I couldn't because 
some of the files are being used by KIM.
   
  So, is there a workaround ??
   
  Thank you,
  Alvaro

DanKo <[EMAIL PROTECTED]> wrote:
          Hi Alvaro,
   
  If I understand you right you want to remove all the populated documents
  and their annotations and start over with and empty KIM repository
  ( as if just being installed ).
  That you can achieve by clearing the content of the
    <KIM_HOME>\context\default\populated
  folder. This is described in our system documentation here:
  
http://www.ontotext.com/kim/doc/sys-doc/kim-platform-administration/configure-kim-context-folder.html
   
  If you use the COREDB repository - as additional step after clearing of the 
"populated"
  folder - you must start the KIM Server and after that the CORE DB Tool. This 
will
  clear the content of the RDB part of the Document Storage.
   
  If something more specific is waht you need, please send some details.
   
  Best regards,
  DanKo
    ----- Original Message ----- 
  From: Alvaro Hernandez 
  To: [email protected] 
  Sent: Saturday, November 17, 2007 4:46 PM
  Subject: [KIM-discussion] Setting PersistanceId to 0
  

  Hi, everybody. I want to clean all the document annotations.
   
  So, I deleted every document using the deleteDoc method, and I want to set 
the Persistance Id to zero (0).
   
  I tried this using the createIndex method, but due to the fact the index 
directory is not empty, it didn't let me do that.
   
  Then, I tried to deleted all files in the index directory, but I couldn't 
because KIM is using them.
   
  So, I don't have a solution so far.
   
  My goal is to clean the repository, and set the Persistance Id to 0.
   
  Could you please help me ??
  Alvaro
    
---------------------------------
  Never miss a thing. Make Yahoo your homepage.     
---------------------------------
    
_______________________________________________
NOTE: Please REPLY TO ALL to ensure that your reply reaches all members of this 
mailing list.

KIM-discussion mailing list
[email protected]
http://ontotext.com/mailman/listinfo/kim-discussion_ontotext.com


__________ NOD32 2665 (20071117) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com



       
---------------------------------
Get easy, one-click access to your favorites.  Make Yahoo! your homepage.
_______________________________________________
NOTE: Please REPLY TO ALL to ensure that your reply reaches all members of this 
mailing list.

KIM-discussion mailing list
[email protected]
http://ontotext.com/mailman/listinfo/kim-discussion_ontotext.com

Reply via email to