Hi, I am implementing a simple query and my DQL editor comes back with a set of over 23,000 results. The problem is that the resultset does not include all the documents that adhere to the criteria. Is there perhaps a limit size on the number of results that can be returned?
More specifically the query I enter is the following:
SELECT r_object_id FROM pkt_document(ALL) WHERE ((a_status='VALID' OR (a_status='WITHDRAWN' AND pkt_is_latest_withdrawn=true)) AND pkt_acl_name IN (select pkt_acl_name from pkt_acl_lookup where pkt_acl_label LIKE 'PKT Level 1%') AND CABINET('/Top Node',DESCEND)) AND pkt_display_to_portal = true.
I have identifed a document with r_object_id='090082f181d39956', that is not included in the this resultset.
To prove that the document should be returned I modify the query to add AND r_object_id='090082f181d39956'
SELECT r_object_id FROM pkt_document(ALL) WHERE ((a_status='VALID' OR (a_status='WITHDRAWN' AND pkt_is_latest_withdrawn=true)) AND pkt_acl_name IN (select pkt_acl_name from pkt_acl_lookup where pkt_acl_label LIKE 'PKT Level 1%') AND CABINET('/Top Node',DESCEND)) AND pkt_display_to_portal = true.AND r_object_id='090082f181d39956'
This query returns the document, however the document is not included among the results of the first query above. Any insights would be much appreciated.