On Wed, 12 Mar 2014 04:09:58 -0700, Mihir Das <[email protected]> wrote:
> Guys, > > I have to define a CPF domain with document scope matching to uri > pattern. > e.g. all document starting with "my-uri" should be included in domain. > > *can not use directory/collection > > Any help is appreciated! > > Thanks > Mihir So just to be clear, you can't use directory because my-uri-something.xml should be in the domain? If instead you mean that all documens with uris like my-uri/something.xml should be in the domain, then that is in fact a directory scope on my-uri. You cannot create domains on uri regexes and the like. My recommendation is to use collections. You should be able to add a collection to the documents you are interested in when you ingest them. Documents can be in multiple collections, so having a special collection for this purpose should not in any way interfere with your application. //Mary _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
