[Kim-discussion] Checking if a document already exists in the document repository -- KIMQueryException: Lucene special character

2011-07-08 Thread Jeremy Raes
Hey, I am building an application upon KIM whereby I need to check if a document already exist in the repository before deciding on adding it. To do this, I wrote the following code: private boolean itemNotInRepository(Item item){ > assert(item != null); > DocumentQuery query = new DocumentQuery

Re: [Kim-discussion] How to declare trusted?

2011-07-08 Thread Srecko Joksimovic
Hi Philip, That is what I did, but I thought there is something else. Thank you! Best, Srecko From: Philip Alexiev @ Ontotext [mailto:philip.alex...@ontotext.com] Sent: Friday, July 08, 2011 09:51 To: Srecko Joksimovic Cc: kim-discussion@ontotext.com Subject: Re: [Kim-discussio

Re: [Kim-discussion] How to declare trusted?

2011-07-08 Thread Philip Alexiev @ Ontotext
Hi Srecko, You can see how some trusted sources are defined in KIM's KB in KIM/context/default/kb/wkb.nt : .