What is this email list for? Who does this go to and how many total people?
Regards, Gabe Cuevas [email protected] www.cloud9charts.com On Tue, Mar 24, 2015 at 2:53 PM, <[email protected]> wrote: > Send General mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://developer.marklogic.com/mailman/listinfo/general > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of General digest..." > > > Today's Topics: > > 1. cts:value-match $pattern parameter (Danny Sinang) > 2. Re: cts:value-match $pattern parameter (Danny Sinang) > 3. Re: cts:value-match $pattern parameter (Joe Bryan) > 4. Re: cts:value-match $pattern parameter (Christopher Hamlin) > 5. Re: xml ingestion quick question (Geert Josten) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 24 Mar 2015 16:22:40 -0400 > From: Danny Sinang <[email protected]> > Subject: [MarkLogic Dev General] cts:value-match $pattern parameter > To: general <[email protected]> > Message-ID: > < > capks-ulq49ebpt_xefdh1uqt_o3jacunrqnawyvjqj7zlrw...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > cts:value-match() <https://docs.marklogic.com/cts:value-match#pattern> > apparently accepts a "$pattern" parameter. > > It works if I specify a pattern of "1" and a pattern of "5" . > > But how do I tell it to match values that are either "1" or "5". > > I tried "1|5", "[1|5]", "1 or 5" but they don't work. > > Regards, > Danny > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://developer.marklogic.com/pipermail/general/attachments/20150324/2f426b7e/attachment-0001.html > > ------------------------------ > > Message: 2 > Date: Tue, 24 Mar 2015 16:25:28 -0400 > From: Danny Sinang <[email protected]> > Subject: Re: [MarkLogic Dev General] cts:value-match $pattern > parameter > To: general <[email protected]> > Message-ID: > < > capks-uju+muzwf2+vfpbuj1vwuo7efjlfoxpvgj0dbj_txj...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Never mind. > > This pattern worked : > > ("1", "5"). > > > On Tue, Mar 24, 2015 at 4:22 PM, Danny Sinang <[email protected]> wrote: > > > cts:value-match() <https://docs.marklogic.com/cts:value-match#pattern> > > apparently accepts a "$pattern" parameter. > > > > It works if I specify a pattern of "1" and a pattern of "5" . > > > > But how do I tell it to match values that are either "1" or "5". > > > > I tried "1|5", "[1|5]", "1 or 5" but they don't work. > > > > Regards, > > Danny > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://developer.marklogic.com/pipermail/general/attachments/20150324/11ae8612/attachment-0001.html > > ------------------------------ > > Message: 3 > Date: Tue, 24 Mar 2015 20:30:29 +0000 > From: Joe Bryan <[email protected]> > Subject: Re: [MarkLogic Dev General] cts:value-match $pattern > parameter > To: MarkLogic Developer Discussion <[email protected]> > Message-ID: <d1374146.d36d%[email protected]> > Content-Type: text/plain; charset="us-ascii" > > Hi Danny, > > That pattern "worked" because of function mapping; cts:value-match was > invoked twice, one for each pattern in the sequence. Disabling function > mapping and invoking cts:value-match with multiple patterns results in > XDMP-ARGTYPE. > > I'm not sure how to represent a choice of patterns. > > Thanks. > > -jb > > > > From: Danny Sinang <[email protected]<mailto:[email protected]>> > Reply-To: MarkLogic Developer Discussion <[email protected] > <mailto:[email protected]>> > Date: Tuesday, March 24, 2015 at 4:25 PM > To: general <[email protected]<mailto: > [email protected]>> > Subject: Re: [MarkLogic Dev General] cts:value-match $pattern parameter > > Never mind. > > This pattern worked : > > ("1", "5"). > > > On Tue, Mar 24, 2015 at 4:22 PM, Danny Sinang <[email protected]<mailto: > [email protected]>> wrote: > cts:value-match()<https://docs.marklogic.com/cts:value-match#pattern> > apparently accepts a "$pattern" parameter. > > It works if I specify a pattern of "1" and a pattern of "5" . > > But how do I tell it to match values that are either "1" or "5". > > I tried "1|5", "[1|5]", "1 or 5" but they don't work. > > Regards, > Danny > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://developer.marklogic.com/pipermail/general/attachments/20150324/85e63074/attachment-0001.html > > ------------------------------ > > Message: 4 > Date: Tue, 24 Mar 2015 16:35:38 -0400 > From: Christopher Hamlin <[email protected]> > Subject: Re: [MarkLogic Dev General] cts:value-match $pattern > parameter > To: MarkLogic Developer Discussion <[email protected]> > Message-ID: > < > cadx+0qzvcpcfqdy7owufvjrridhwkyhofomeso7q4r_khgj...@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Hi, > > It's not regular expression matching, but only patterns with wildcards > ? (one char) or * (zero or more char). > > One way to speed it up could be to limit it to one-char matches with > '?' and then use a predicate with fn:matches to get exactly what you > want. > > /ch > > > ------------------------------ > > Message: 5 > Date: Tue, 24 Mar 2015 21:53:10 +0000 > From: Geert Josten <[email protected]> > Subject: Re: [MarkLogic Dev General] xml ingestion quick question > To: MarkLogic Developer Discussion <[email protected]> > Message-ID: <d1379ab5.88604%[email protected]> > Content-Type: text/plain; charset="us-ascii" > > Hi Cory, > > Something like this? > http://grtjn.blogspot.nl/2014/10/capturing-marklogic-applications-with.html > ;-) > > But extra write ups are more than welcome! > > If you think Roxy capture could be improved, take a look at the capture > tickets, and feel free to add new or pile on to existing ones: > https://github.com/marklogic/roxy/labels/capture > > Cheers, > Geert > > From: cyanline llc <[email protected]<mailto:[email protected]>> > Reply-To: MarkLogic Developer Discussion <[email protected] > <mailto:[email protected]>> > Date: Tuesday, March 24, 2015 at 5:43 PM > To: MarkLogic Developer Discussion <[email protected] > <mailto:[email protected]>> > Subject: Re: [MarkLogic Dev General] xml ingestion quick question > > Dave, > I've spent the past 3 weeks getting the app we've built in the > app-builder iface, to be captured and re-deploy-able. We've got it working > now, and I can deploy a new VM, a full rest application, and ingest the db > content- all with the flick of a script. It was a lot of work but I am > rather impressed with the results. > The roxy documentation does do the trick, but the community can > obviously always benefit from more write ups. I didn't do anything out of > the ordinary, but was still considering doing a simple write up for > capturing an ml app on one server, and deploying it to another server. > Thank you for the tips! > > -Cory > On 03/24/2015 09:23 AM, Dave Cassel wrote: > Responding to the Roxy part of this -- check out Roxy's capture > functionality. Not well documented yet, but you can see the notes on this > GitHub ticket<https://github.com/marklogic/roxy/issues/304>. > > -- > Dave Cassel > Developer Community Manager > MarkLogic Corporation<http://www.marklogic.com/> > Cell: +1-484-798-8720 > > > From: David Ennis <[email protected]<mailto: > [email protected]>> > Reply-To: MarkLogic Developer Discussion <[email protected] > <mailto:[email protected]>> > Date: Tuesday, March 24, 2015 at 6:22 AM > To: MarkLogic Developer Discussion <[email protected] > <mailto:[email protected]>> > Subject: Re: [MarkLogic Dev General] xml ingestion quick question > > I always find it more exact to configure my indexes in the admin interface > instead of the app-builder interface (I'm not a fan of wizard-type things > that hide some options). You have more control over the process and more > options. > > > [BTW: when using roxy, we usually then read the database.xml and extract > the configured indexes for us in ml-config.xml later] > > > > Kind Regards, > David Ennis > > > David Ennis > Content Engineer > > [HintTech] <http://www.hinttech.com/> > Mastering the value of content > creative | technology | content > > Delftechpark 37i > 2628 XJ Delft > The Netherlands > T: +31 88 268 25 00 > M: +31 63 091 72 80 > > [http://www.hinttech.com]<http://www.hinttech.com> [ > http://www.hinttech.com/signature/Twitter_HintTech.png] < > https://twitter.com/HintTech> [ > http://www.hinttech.com/signature/Facebook_HintTech.png] < > http://www.facebook.com/HintTech> [ > http://www.hinttech.com/signature/Linkedin_HintTech.png] < > http://www.linkedin.com/company/HintTech> > > On 23 March 2015 at 20:50, cyanline llc <[email protected]<mailto: > [email protected]>> wrote: > Mike, > While attempting to add the Element via the "CONFIGURE ELEMENT RANGE > INDEX" menu on the app builder interface (port 8000), upon hitting the > "Find" button, I receive "No elements matched your search". For this > app, I have added all the other Element Rage Indexes with this method > (~15). > I have not tried via the admin interface, nor with the ml-config.xml > file. > The version of ML is 7.0-4.3 > > Thank you, > Cory > On 03/23/2015 03:44 PM, Michael Blakeley wrote: > > There is no nesting limit. > > > > Why can't you create an element-range index on attachment_filename? Is > there an error message? > > > > What's the full version number of the MarkLogic release you're using? > > > > -- Mike > > > >> On 23 Mar 2015, at 11:27 , cyanline llc <[email protected]<mailto: > [email protected]>> wrote: > >> > >> Hello, > >> What am I missing that I can create an Element Range Index on > >> attachment-count but not attachment_filename? > >> Below is sample XML that I am ingesting and building an app around. > >> > >> <attachment-count>1</attachment-count> > >> <attachments> > >> <attachment> > >> <attachment_filename>Adnserio~1.pdf</attachment_filename> > >> </attachment> > >> </attachments> > >> > >> I have checked and I am producing valid XML. 'attachment-count' is > >> obviously nested, so, is there a nesting maximum? > >> > >> Thanks in advance. > >> _______________________________________________ > >> General mailing list > >> [email protected]<mailto:[email protected]> > >> http://developer.marklogic.com/mailman/listinfo/general > >> > > _______________________________________________ > > General mailing list > > [email protected]<mailto:[email protected]> > > http://developer.marklogic.com/mailman/listinfo/general > > _______________________________________________ > General mailing list > [email protected]<mailto:[email protected]> > http://developer.marklogic.com/mailman/listinfo/general > > > > > _______________________________________________ > General mailing list > [email protected]<mailto:[email protected]> > http://developer.marklogic.com/mailman/listinfo/general > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://developer.marklogic.com/pipermail/general/attachments/20150324/f92833ff/attachment.html > > ------------------------------ > > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general > > > End of General Digest, Vol 129, Issue 45 > **************************************** > -- Regards, *Gabe Cuevas* [email protected] O +1 (510) 320-3020 EXT 705 C +1 (415) 847-8011
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
