Unsubscribe please!

Christie Hoyle
Marketing Manager


Sent from my iPhone

On Jul 25, 2012, at 5:28 PM, "[email protected]" 
<[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. Re: How to speed up getting child element (David Lee)
>   2. Re: How to speed up getting child element (Danny Sinang)
>   3. Re: How to speed up getting child element (Harry B.)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Wed, 25 Jul 2012 12:01:30 -0700
> From: David Lee <[email protected]>
> Subject: Re: [MarkLogic Dev General] How to speed up getting child
>    element
> To: MarkLogic Developer Discussion <[email protected]>
> Message-ID:
>    <eb42045a1f00224e93b82e949ec6675e16aff17...@exchg-be.marklogic.com>
> Content-Type: text/plain; charset="us-ascii"
> 
> The other alternative (or in combination) ... if all you want is the book 
> element , augment your cts:search to just return the book elements.
> 
> 
> -----------------------------------------------------------------------------
> David Lee
> Lead Engineer
> MarkLogic Corporation
> [email protected]
> Phone: +1 650-287-2531
> Cell:  +1 812-630-7622
> www.marklogic.com<http://www.marklogic.com/>
> 
> This e-mail and any accompanying attachments are confidential. The 
> information is intended solely for the use of the individual to whom it is 
> addressed. Any review, disclosure, copying, distribution, or use of this 
> e-mail communication by others is strictly prohibited. If you are not the 
> intended recipient, please notify us immediately by returning this message to 
> the sender and delete all copies. Thank you for your cooperation.
> 
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Geert Josten
> Sent: Wednesday, July 25, 2012 1:53 PM
> To: MarkLogic Developer Discussion
> Subject: Re: [MarkLogic Dev General] How to speed up getting child element
> 
> Hi Danny,
> 
> To put it simple: don't do that on all 88 thousand results, but only those 
> you want to show on a search result page. That is why search:search applies 
> pagination by default, quite convenient by the way, saves you from a lot of 
> trouble doing it yourself..
> 
> Kind regards,
> Geert
> 
> Van: 
> [email protected]<mailto:[email protected]>
>  
> [mailto:[email protected]<mailto:[email protected]>]
>  Namens Danny Sinang
> Verzonden: woensdag 25 juli 2012 19:49
> Aan: general
> Onderwerp: [MarkLogic Dev General] How to speed up getting child element
> 
> Hi,
> 
> I have a cts:search query that returns 88,542 results in juts 0.029 seconds.
> 
> Problem is, when I do this :
> 
> let $x := $searchResults/book
> 
> the total elapsed time jumps to 2.87 seconds.
> 
> Is there a better / faster way of doing this ?
> 
> Regards,
> Danny
> 
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> http://developer.marklogic.com/pipermail/general/attachments/20120725/cb04ce43/attachment-0001.html
>  
> 
> ------------------------------
> 
> Message: 2
> Date: Wed, 25 Jul 2012 16:22:03 -0400
> From: Danny Sinang <[email protected]>
> Subject: Re: [MarkLogic Dev General] How to speed up getting child
>    element
> To: MarkLogic Developer Discussion <[email protected]>
> Message-ID:
>    <capks-ukt2asrifdv4p3a52fscr7bqyocoayb8k8ca31auyo...@mail.gmail.com>
> Content-Type: text/plain; charset="windows-1252"
> 
> Hi David,
> 
> Below is my cts:search() call.
> 
> How do I do what you're suggesting ?
> 
> let $cts-query := search:parse($searchQuery, $options)
> let $searchResults := cts:search(fn:collection("trustedPartnerLogs"),
> cts:query($cts-query))
> 
> 
> Regards,
> Danny
> 
> On Wed, Jul 25, 2012 at 3:01 PM, David Lee <[email protected]> wrote:
> 
>> The other alternative (or in combination) ... if all you want is the book
>> element , augment your cts:search to just return the book elements.****
>> 
>> ** **
>> 
>> ** **
>> 
>> 
>> -----------------------------------------------------------------------------
>> ****
>> 
>> David Lee
>> Lead Engineer
>> MarkLogic Corporation
>> [email protected]
>> Phone: +1 650-287-2531
>> Cell:  +1 812-630-7622
>> www.marklogic.com
>> 
>> This e-mail and any accompanying attachments are confidential. The
>> information is intended solely for the use of the individual to whom it is
>> addressed. Any review, disclosure, copying, distribution, or use of this
>> e-mail communication by others is strictly prohibited. If you are not the
>> intended recipient, please notify us immediately by returning this message
>> to the sender and delete all copies. Thank you for your cooperation.****
>> 
>> ** **
>> 
>> *From:* [email protected] [mailto:
>> [email protected]] *On Behalf Of *Geert Josten
>> *Sent:* Wednesday, July 25, 2012 1:53 PM
>> *To:* MarkLogic Developer Discussion
>> *Subject:* Re: [MarkLogic Dev General] How to speed up getting child
>> element****
>> 
>> ** **
>> 
>> Hi Danny,****
>> 
>> ****
>> 
>> To put it simple: don?t do that on all 88 thousand results, but only those
>> you want to show on a search result page. That is why search:search applies
>> pagination by default, quite convenient by the way, saves you from a lot of
>> trouble doing it yourself..****
>> 
>> ****
>> 
>> Kind regards,****
>> 
>> Geert****
>> 
>> ****
>> 
>> *Van:* [email protected] [mailto:
>> [email protected]] *Namens *Danny Sinang
>> *Verzonden:* woensdag 25 juli 2012 19:49
>> *Aan:* general
>> *Onderwerp:* [MarkLogic Dev General] How to speed up getting child element
>> ****
>> 
>> ****
>> 
>> Hi,****
>> 
>> ****
>> 
>> I have a cts:search query that returns 88,542 results in juts 0.029
>> seconds.****
>> 
>> ****
>> 
>> Problem is, when I do this :****
>> 
>> ****
>> 
>> let $x := $searchResults/book****
>> 
>> ****
>> 
>> the total elapsed time jumps to 2.87 seconds.****
>> 
>> ****
>> 
>> Is there a better / faster way of doing this ?****
>> 
>> ****
>> 
>> Regards,
>> Danny****
>> 
>> ****
>> 
>> ****
>> 
>> _______________________________________________
>> General mailing list
>> [email protected]
>> http://developer.marklogic.com/mailman/listinfo/general
>> 
>> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> http://developer.marklogic.com/pipermail/general/attachments/20120725/734bf374/attachment-0001.html
>  
> 
> ------------------------------
> 
> Message: 3
> Date: Wed, 25 Jul 2012 18:28:54 -0600
> From: "Harry B." <[email protected]>
> Subject: Re: [MarkLogic Dev General] How to speed up getting child
>    element
> To: MarkLogic Developer Discussion <[email protected]>
> Message-ID:
>    <CABGMwESBmiP=e=2sys-phuik+v+zba0j1__3tgqot+ggnvw...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Do you really want the child element of all 88k? A lot of folks only use
> Xpath against results in smaller sets, like 20 at a time.
> On Jul 25, 2012 11:49 AM, "Danny Sinang" <[email protected]> wrote:
> 
>> Hi,
>> 
>> I have a cts:search query that returns 88,542 results in juts 0.029
>> seconds.
>> 
>> Problem is, when I do this :
>> 
>> let $x := $searchResults/book
>> 
>> 
>> the total elapsed time jumps to 2.87 seconds.
>> 
>> Is there a better / faster way of doing this ?
>> 
>> Regards,
>> Danny
>> 
>> 
>> 
>> _______________________________________________
>> General mailing list
>> [email protected]
>> http://developer.marklogic.com/mailman/listinfo/general
>> 
>> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> http://developer.marklogic.com/pipermail/general/attachments/20120725/d4630bb5/attachment.html
>  
> 
> ------------------------------
> 
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general
> 
> 
> End of General Digest, Vol 97, Issue 49
> ***************************************
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to