[MarkLogic Dev General] collection footprint
Mariano Grau Calín
mgrau at grupojoly.com
Fri Apr 25 09:42:12 PDT 2008
Shanon,
If all yours documents are in some collection you can not specify collection when search all.
This approach has least overhead that any other.
-----Mensaje original-----
De: general-bounces at developer.marklogic.com [mailto:general-bounces at developer.marklogic.com] En nombre de Michael Blakeley
Enviado el: viernes, 25 de abril de 2008 01:54
Para: General Mark Logic Developer Discussion
Asunto: Re: [MarkLogic Dev General] collection footprint
Shannon,
Each collection will add one extra term in your query, so a single
collection is more efficient. But the difference may not be perceptible
to your users.
-- Mike
Shannon Scott Shiflett wrote:
> Hi,
>
> If we have logically organized documents loaded into say 8
> collections, to search all collections, is it best practice to specify
> a list to collection() or use a 9th collection containing all the
> URIs? Which approach has the least overhead?
>
> Thanks,
> Shannon
> _______________________________________________
> General mailing list
> General at developer.marklogic.com
> http://xqzone.com/mailman/listinfo/general
_______________________________________________
General mailing list
General at developer.marklogic.com
http://xqzone.com/mailman/listinfo/general
More information about the General
mailing list