[Kim-discussion] Issue with getEntites method in CoreDBApi

DanKo danko at sirma.bg
Wed Aug 5 11:00:10 EDT 2009


Issue with getEntites method in CoreDBApiHi Alistar,

It happens so that from some time we do not support the:
  getEntities(Set docIds, CoreDbQuery query)
version of the method. It just redirects the execution to:
  getEntities(CoreDbQuery query)
not to break old implementations.
It was our oversight that we didn't remarked it in the documentation.

But you can share the querying scenario you try to implements and we will help with it.

Greetings,
DanKo

  ----- Original Message ----- 
  From: alistair.duke at bt.com 
  To: kim-discussion at ontotext.com 
  Sent: Wednesday, August 05, 2009 2:55 PM
  Subject: [Kim-discussion] Issue with getEntites method in CoreDBApi


  Hi again, 

  I've found some strange behaviour when using the getEntities method of the CoreDbApi. If I use the 

  ResultSetIterator getEntities(Set docIds) 

  form it works fine i.e. I just get the entities in the documents defined in the set. However, if I use the 

  ResultSetIterator getEntities(Set docIds, CoreDbQuery query) 
  form, it only seems to look at the query restrictions and ignores the docid restrictions. This means I get all entites regardless of whether they are in the specified documents or not.

  I'm using KIM 2.5. Is this something you've come across? 

  Thanks, 

  Alistair 

  Alistair Duke
  Next Generation Web Research 
  Centre for Information & Security Systems Research 
  BT Innovate & Design
  ___________________________
  Office: +44(0) 1473 608192
  Mobile: +44(0) 7730 426257
  Fax : +44(0) 1473 606755
  Email: alistair.duke at bt.com
  This email contains BT information, which may be privileged or confidential.
  It's meant only for the individual(s) or entity named above. If you're not the intended
  recipient, note that disclosing, copying, distributing or using this information
  is prohibited. If you've received this email in error, please let me know immediately
  on the email address above. Thank you.
  We monitor our email system, and may record your emails. 
  British Telecommunications plc
  Registered office: 81 Newgate Street London EC1A 7AJ
  Registered in England no: 1800000 





------------------------------------------------------------------------------


  _______________________________________________
  Kim-discussion mailing list
  Kim-discussion at ontotext.com
  http://ontotext.com/mailman/listinfo/kim-discussion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ontotext.com/pipermail/kim-discussion/attachments/20090805/e00ed39a/attachment-0002.html>


More information about the Kim-discussion mailing list