Hi,
  I want to store a document in a forest and collection. The document is
part of a collection "MDCOL". I currently have 2 forests associated with
my database MDE - they are "MDR" and "MDC". When I connect through XCC
(to the MDE database) and store a document labeled for the "MDC"
collection. I see the forests randomly increment their document count.
Sometimes its the MDR forest, sometimes the MDC. Furthermore, when I
query for all documents in the MDCOL collection, I get none.

Request request = session.newAdhocQuery ("for $doc in
fn:collection(\"MDCOL\") return $doc",options);

The documentation didn't explain querying collections well enough 
to solve this in short period. Can someone offer a tip?

thank you,
Darren


_______________________________________________
General mailing list
General@developer.marklogic.com
http://xqzone.com/mailman/listinfo/general

Reply via email to