Enforce optimal index

I used - to separate fields and _ to replace dots/columns. What do you
think?
On Oct 16, 2014 10:45 AM, "Ghislain Fourny" <notifications@github.com>
wrote:

> In queries/modules/io/28/modules/xbrl/mongo-wrapper.jq:
>
> > @@ -0,0 +1,184 @@
> > +module namespace mw = "http://28.io/modules/xbrl/mongo-wrapper";
> > +
> > +import module namespace mongo = "http://www.28msec.com/modules/mongodb";
> > +import module namespace credentials = "http://www.28msec.com/modules/credentials";
> > +
> > +(: Indexes declarations :)
> > +declare variable $mw:ARCHIVES-ID as string := "_id_";
> > +declare variable $mw:ARCHIVES-ENTITY as string := "Entity_hashed";
> > +
> > +declare variable $mw:COMPONENTS-ID as string := "_id_";
> > +declare variable $mw:COMPONENTS-ARCHIVE as string := "Archive_hashed";
> > +declare variable $mw:COMPONENTS-PROFILE_SEC_DISCLOSURE as string := "Profiles.SEC.Disclosure_hashed";
>
> I forgot whether it's - or _, but I think we agreed at some point to only
> use one of those everywhere.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/28msec/secxbrl.info/pull/420/files#r18943700>.
>