[MarkLogic Dev General] unsubscribe

2018-05-10 Thread Philip Fennell

___
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general


Re: [MarkLogic Dev General] Unsubscribe

2017-05-23 Thread Raymond Lawrence
On Tue, May 23, 2017 at 9:57 AM, Hanumantharayappa, Shanthamurthy <
shantha...@qssinc.com> wrote:

> Unsubscribe me.
>
> -Original Message-
> From: general-boun...@developer.marklogic.com [mailto:general-bounces@
> developer.marklogic.com] On Behalf Of general-request@developer.
> marklogic.com
> Sent: Tuesday, May 23, 2017 9:56 AM
> To: general@developer.marklogic.com
> Subject: General Digest, Vol 155, Issue 27
>
> Send General mailing list submissions to
> general@developer.marklogic.com
>
> 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
> general-requ...@developer.marklogic.com
>
> You can reach the person managing the list at
> general-ow...@developer.marklogic.com
>
> When replying, please edit your Subject line so it is more specific than
> "Re: Contents of General digest..."
>
>
> Today's Topics:
>
>1. Re: General Digest, Vol 155, Issue 24 (Shiv Shankar)
>2. Re: Processing Large Number of Docs to Get Statistics
>   (Erik Hennum)
>
>
> --
>
> Message: 1
> Date: Tue, 23 May 2017 09:55:35 -0400
> From: Shiv Shankar 
> Subject: Re: [MarkLogic Dev General] General Digest, Vol 155, Issue 24
> To: MarkLogic Developer Discussion 
> Message-ID:
> 
> Content-Type: text/plain; charset="utf-8"
>
> Hi Justin,
> Thanks for introducing jsonPropertyReference. I see some of the dob is
> empty ("") and it is kicking exception.
> I see a bit of challenging here. I could able aggregate numbers/count by
> using cts.values, but facing difficulties in aggregating by datewise and
> grouping them.
>
> The scenario is
> content: {"dob":"1977-06-20", "dob":"",
> "dob":"1980-06-20","dob":"1977-06-20"}
>
> Expected result is {"0": 20, "1": 2, "4": 0};
>
> I am using the below workaround for the age, but we want to achieve
> similar to this using dob by ignoring any missing dobs. Any help?
>
> var ageQuery = cts.andQuery([
> cts.elementRangeQuery(xs.QName('age'), ">=", 0),
> cts.elementRangeQuery(xs.QName('age'), "<=", 100)
>   ]);
> var result = {};
> for (var agegroup of cts.values(cts.elementReference(xs.QName('age')),
> null, null, query)){
>   var query = cts.andQuery([
> ageQuery,
> cts.jsonPropertyValueQuery('age', agegroup)
>   ]);
>   result[agegroup] = cts.estimate(query); } result;
>
>
>
> Thanks
> Shan.
>
>
> On Tue, May 23, 2017 at 3:24 AM, 
> wrote:
>
> > Send General mailing list submissions to
> > general@developer.marklogic.com
> >
> > 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
> > general-requ...@developer.marklogic.com
> >
> > You can reach the person managing the list at
> > general-ow...@developer.marklogic.com
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of General digest..."
> >
> >
> > Today's Topics:
> >
> >1. Search by age wise from dob property (Shiv Shankar)
> >2. Re: Search by age wise from dob property (Justin Makeig)
> >3. Processing Large Number of Docs to GetStatistics (Eliot Kimber)
> >4. Re: Priorities for queries (Geert Josten)
> >
> >
> > --
> >
> > Message: 1
> > Date: Mon, 22 May 2017 16:08:11 -0400
> > From: Shiv Shankar 
> > Subject: [MarkLogic Dev General] Search by age wise from dob property
> > To: MarkLogic Developer Discussion 
> > Message-ID:
> >  > mail.gmail.com>
> > Content-Type: text/plain; charset="utf-8"
> >
> > Hi,
> > There is a dob json property in the documents and I need to search on
> > dob based on age wise i.e age > 30, age >30 and age <50.  Any samples
> > to calculate age and compare in the search queries?
> >
> > Thanks
> > Shan.
> > -- next part -- An HTML attachment was
> > scrubbed...
> > URL: http://developer.marklogic.com/pipermail/general/
> > attachments/20170522/34d2f34c/attachment-0001.html
> >
> > --
> >
> > Message: 2
> > Date: Mon, 22 May 2017 20:33:06 +
> > From: Justin Makeig 
> > Subject: Re: [MarkLogic Dev General] Search by age wise from dob
> > property
> > To: MarkLogic Developer Discussion 
> > Message-ID: <600acf55-4384-4294-bbf9-74700a4a8...@marklogic.com>
> > Content-Type: text/plain; charset="us-ascii"
> >
> > const person = { dob: xs.date("1979-02-03") }; const thrirtyYearsAgo =
> > 

Re: [MarkLogic Dev General] Unsubscribe

2017-05-23 Thread John Snelson
On 23/05/17 14:57, Hanumantharayappa, Shanthamurthy wrote:
> 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
> general-requ...@developer.marklogic.com
>
-- 
John Snelson, Principal Engineer  http://twitter.com/jpcs
MarkLogic Corporation http://www.marklogic.com
___
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general


[MarkLogic Dev General] Unsubscribe

2017-05-23 Thread Hanumantharayappa, Shanthamurthy
Unsubscribe me.

-Original Message-
From: general-boun...@developer.marklogic.com 
[mailto:general-boun...@developer.marklogic.com] On Behalf Of 
general-requ...@developer.marklogic.com
Sent: Tuesday, May 23, 2017 9:56 AM
To: general@developer.marklogic.com
Subject: General Digest, Vol 155, Issue 27

Send General mailing list submissions to
general@developer.marklogic.com

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
general-requ...@developer.marklogic.com

You can reach the person managing the list at
general-ow...@developer.marklogic.com

When replying, please edit your Subject line so it is more specific than "Re: 
Contents of General digest..."


Today's Topics:

   1. Re: General Digest, Vol 155, Issue 24 (Shiv Shankar)
   2. Re: Processing Large Number of Docs to Get Statistics
  (Erik Hennum)


--

Message: 1
Date: Tue, 23 May 2017 09:55:35 -0400
From: Shiv Shankar 
Subject: Re: [MarkLogic Dev General] General Digest, Vol 155, Issue 24
To: MarkLogic Developer Discussion 
Message-ID:

Content-Type: text/plain; charset="utf-8"

Hi Justin,
Thanks for introducing jsonPropertyReference. I see some of the dob is empty 
("") and it is kicking exception.
I see a bit of challenging here. I could able aggregate numbers/count by using 
cts.values, but facing difficulties in aggregating by datewise and grouping 
them.

The scenario is
content: {"dob":"1977-06-20", "dob":"",
"dob":"1980-06-20","dob":"1977-06-20"}

Expected result is {"0": 20, "1": 2, "4": 0};

I am using the below workaround for the age, but we want to achieve similar to 
this using dob by ignoring any missing dobs. Any help?

var ageQuery = cts.andQuery([
cts.elementRangeQuery(xs.QName('age'), ">=", 0),
cts.elementRangeQuery(xs.QName('age'), "<=", 100)
  ]);
var result = {};
for (var agegroup of cts.values(cts.elementReference(xs.QName('age')),
null, null, query)){
  var query = cts.andQuery([
ageQuery,
cts.jsonPropertyValueQuery('age', agegroup)
  ]);
  result[agegroup] = cts.estimate(query); } result;



Thanks
Shan.


On Tue, May 23, 2017 at 3:24 AM, 
wrote:

> Send General mailing list submissions to
> general@developer.marklogic.com
>
> 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
> general-requ...@developer.marklogic.com
>
> You can reach the person managing the list at
> general-ow...@developer.marklogic.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of General digest..."
>
>
> Today's Topics:
>
>1. Search by age wise from dob property (Shiv Shankar)
>2. Re: Search by age wise from dob property (Justin Makeig)
>3. Processing Large Number of Docs to GetStatistics (Eliot Kimber)
>4. Re: Priorities for queries (Geert Josten)
>
>
> --
>
> Message: 1
> Date: Mon, 22 May 2017 16:08:11 -0400
> From: Shiv Shankar 
> Subject: [MarkLogic Dev General] Search by age wise from dob property
> To: MarkLogic Developer Discussion 
> Message-ID:
>  mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi,
> There is a dob json property in the documents and I need to search on
> dob based on age wise i.e age > 30, age >30 and age <50.  Any samples
> to calculate age and compare in the search queries?
>
> Thanks
> Shan.
> -- next part -- An HTML attachment was
> scrubbed...
> URL: http://developer.marklogic.com/pipermail/general/
> attachments/20170522/34d2f34c/attachment-0001.html
>
> --
>
> Message: 2
> Date: Mon, 22 May 2017 20:33:06 +
> From: Justin Makeig 
> Subject: Re: [MarkLogic Dev General] Search by age wise from dob
> property
> To: MarkLogic Developer Discussion 
> Message-ID: <600acf55-4384-4294-bbf9-74700a4a8...@marklogic.com>
> Content-Type: text/plain; charset="us-ascii"
>
> const person = { dob: xs.date("1979-02-03") }; const thrirtyYearsAgo =
> fn.currentDate().subtract(xs.
> yearMonthDuration("P30Y"));
> person.dob < thrirtyYearsAgo; // true
>
> You can do date math with xs.duration types. In the above case, I'm
> subtracting 30 years from the current date.
> xs.date.prototype.subtract() returns an xs.date. You can compare that
> xs.date to any other xs.date. To do this comparison in MarkLogic's

Re: [MarkLogic Dev General] unsubscribe

2017-02-06 Thread Dave Cassel
You can manage your subscription at 
http://developer.marklogic.com/mailman/listinfo/general.

--
Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel>
Technical Community Manager
MarkLogic Corporation<http://www.marklogic.com/>
http://developer.marklogic.com/


From: 
<general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com>>
 on behalf of David Baker 
<bakerda...@comcast.net<mailto:bakerda...@comcast.net>>
Reply-To: MarkLogic Developer Discussion 
<general@developer.marklogic.com<mailto:general@developer.marklogic.com>>
Date: Friday, February 3, 2017 at 8:34 PM
To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" 
<general@developer.marklogic.com<mailto:general@developer.marklogic.com>>
Subject: [MarkLogic Dev General] unsubscribe



David Baker
651.260.6544

___
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general


[MarkLogic Dev General] unsubscribe

2017-02-03 Thread David Baker
 

 

David Baker

651.260.6544

 

___
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general


[MarkLogic Dev General] unsubscribe

2016-11-16 Thread 木目沢 司





> 2016/11/15 23:19、general-requ...@developer.marklogic.comのメール:
> 
> Send General mailing list submissions to
>   general@developer.marklogic.com
> 
> 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
>   general-requ...@developer.marklogic.com
> 
> You can reach the person managing the list at
>   general-ow...@developer.marklogic.com
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of General digest..."
> 
> 
> Today's Topics:
> 
>   1. Re: Re Question #2: MarkLogic 8 Query Parsing issues in
>  search:search-Need Help (Karunanithi, Bharathi)
> 
> 
> --
> 
> Message: 1
> Date: Tue, 15 Nov 2016 14:19:41 +
> From: "Karunanithi, Bharathi" 
> Subject: Re: [MarkLogic Dev General] Re Question #2: MarkLogic 8 Query
>   Parsing issues in search:search-Need Help
> To: MarkLogic Developer Discussion 
> Cc: "Vasiadis, Demetrios" 
> Message-ID:
>   
> 
>   
> Content-Type: text/plain; charset="us-ascii"
> 
> Okay Geert, We will discuss and reach out to you if an RFE is required from 
> our end.
> 
> From: general-boun...@developer.marklogic.com 
> [mailto:general-boun...@developer.marklogic.com] On Behalf Of Geert Josten
> Sent: Tuesday, November 15, 2016 6:39 PM
> To: MarkLogic Developer Discussion
> Cc: Vasiadis, Demetrios
> Subject: Re: [MarkLogic Dev General] Re Question #2: MarkLogic 8 Query 
> Parsing issues in search:search-Need Help
> 
> Sorry, I see no options. The return-query flag is tucked deep into the search 
> lib.
> 
> If you consider this a serious restriction, I'd advice reaching out via your 
> MarkLogic support channels, and ask to get an RFE (Request for Enhancement) 
> raised..
> 
> Cheers,
> Geert
> 
> From: 
> >
>  on behalf of "Karunanithi, Bharathi" 
> >
> Reply-To: MarkLogic Developer Discussion 
> >
> Date: Tuesday, November 15, 2016 at 1:02 PM
> To: MarkLogic Developer Discussion 
> >
> Cc: "Vasiadis, Demetrios" 
> >
> Subject: Re: [MarkLogic Dev General] Re Question #2: MarkLogic 8 Query 
> Parsing issues in search:search-Need Help
> 
> Thanks Geert. Yes, Now I am able to see the annotated query using 
> "cts:annotated-query" option in search:parse.
> 
> But I need this to be returned in search:search response when the 
>  flag is set to "true". But by default, this is returning a 
> "cts-query" not the annotated query.
> 
> So as you suggested ,  got the annotated query separately using the 
> "cts:annotated-query" option in search:parse as highlighted below:
> 
> 
>{search:search($query, 
> $options,0,1)}
>{search:parse($query, $options, 
> "cts:annotated-query")}
>
> 
> This again results in an extra step to get the annotated-query. Can we get an 
> annotated-query in search:search response in a single step(results as well as 
> the annotated query as a single response)?
> 
> Thanks,
> Bharathi K
> From: 
> general-boun...@developer.marklogic.com
>  [mailto:general-boun...@developer.marklogic.com] On Behalf Of Geert Josten
> Sent: Tuesday, November 15, 2016 1:16 AM
> To: MarkLogic Developer Discussion
> Cc: Vasiadis, Demetrios
> Subject: [MarkLogic Dev General] Re Question #2: MarkLogic 8 Query Parsing 
> issues in search:search-Need Help
> 
> Hi Bharathi,
> 
> Regarding question #2, I think you refer to the cts:query annotations that 
> where originally used for search:unparse. Search:unparse has been deprecated 
> though (see http://docs.marklogic.com/search:unparse), hence the change in 
> the default behavior of search:parse. You can still get the annotated 
> cts:query by providing an extra flag. Just append , "cts:annotated-query" to 
> the call to search:parse. See also the example shown in above link..
> 
> Cheers,
> Geert
> 
> From: 
> >
>  on behalf of "Karunanithi, Bharathi" 
> >
> Reply-To: MarkLogic Developer Discussion 
> >
> Date: Monday, November 14, 2016 at 4:53 PM
> To: 

[MarkLogic Dev General] Unsubscribe me from this thread

2016-09-08 Thread Venkat Guruvelli - Contractor
Please unsubscribe me from this thread(remove all)

From: 
>
 on behalf of Tim Meagher
Reply-To: MarkLogic Developer Discussion
Date: Thursday, September 8, 2016 at 2:31 PM
To: 'MarkLogic Developer Discussion'
Subject: Re: [MarkLogic Dev General] Embedded element queries work in 
cts:search but not in cts:uris?

general@developer.marklogic.com>
Confidentiality Note


This message is intended for the use of the person or entity to which it is 
addressed and may contain information, including health information, that is 
privileged, confidential, and the disclosure of which is governed by applicable 
law. If the reader of this message is not the intended recipient, or the 
employee or agent responsible to deliver it to the intended recipient, you are 
hereby notified that any dissemination, distribution or copying of this 
information is STRICTLY PROHIBITED.

If you have received this in error, please notify us immediately and destroy 
the related message.
___
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general


Re: [MarkLogic Dev General] UNSUBSCRIBE

2016-03-22 Thread Dave Cassel
As a reminder for others, the URL for subscription management is included in 
the footer of each message on this list: 
http://developer.marklogic.com/mailman/listinfo/general.

Luke, I just unsubscribed this address for you.

Dave.

--
Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel>
Technical Community Manager
MarkLogic Corporation<http://www.marklogic.com/>
http://developer.marklogic.com/


From: 
<general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com>>
 on behalf of Luke Duddridge 
<luke.duddri...@ukho.gov.uk<mailto:luke.duddri...@ukho.gov.uk>>
Reply-To: MarkLogic Developer Discussion 
<general@developer.marklogic.com<mailto:general@developer.marklogic.com>>
Date: Tuesday, March 22, 2016 at 4:56 AM
To: 'MarkLogic Developer Discussion' 
<general@developer.marklogic.com<mailto:general@developer.marklogic.com>>
Subject: [MarkLogic Dev General] UNSUBSCRIBE

Hi,

Any chance I can be removed off this?

Luke Duddridge
Commercial Lead Support Engineer

Pplease consider the environment before printing this email

From: 
general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com>
 [mailto:general-boun...@developer.marklogic.com] On Behalf Of Suresh Baskar
Sent: 22 March 2016 05:44
To: general@developer.marklogic.com<mailto:general@developer.marklogic.com>
Subject: [MarkLogic Dev General] Issue in creation of HTTP server


Hi Team,



Have created HTTP server for a database in Marklogic 8 via Admin console and ML 
rest api service. On hitting host : port which was created via ML rest instance 
running successfully, where as Http server created via Admin console throws 404 
error.



Ex: http://localhost:7010 -> created via rest api service -> renders a page 
with list of rest api services available

http://localhost:7011  -> created via admin console -> renders 404 (File not 
found)



Am new to Marklogic, appreciate your help.



Thanks,

Suresh


The contents of this e-mail and any attachments are the property of the United 
Kingdom Hydrographic Office and are intended for the confidential use of the 
named recipient only. Its unauthorised use, disclosure, storage or copying is 
not permitted and may be unlawful. If you are not the intended recipient, 
please destroy all copies and inform the sender by return e-mail. This footnote 
also confirms that this e-mail message has been scanned for the presence of 
computer viruses. You are however advised to carry out your own virus checks.


___
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general


[MarkLogic Dev General] UNSUBSCRIBE

2016-03-22 Thread Luke Duddridge
Hi,

Any chance I can be removed off this?

Luke Duddridge
Commercial Lead Support Engineer

P please consider the environment before printing this email

From: general-boun...@developer.marklogic.com 
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Suresh Baskar
Sent: 22 March 2016 05:44
To: general@developer.marklogic.com
Subject: [MarkLogic Dev General] Issue in creation of HTTP server


Hi Team,



Have created HTTP server for a database in Marklogic 8 via Admin console and ML 
rest api service. On hitting host : port which was created via ML rest instance 
running successfully, where as Http server created via Admin console throws 404 
error.



Ex: http://localhost:7010 -> created via rest api service -> renders a page 
with list of rest api services available

http://localhost:7011  -> created via admin console -> renders 404 (File not 
found)



Am new to Marklogic, appreciate your help.



Thanks,

Suresh

**

 

The contents of this e-mail and any attachments are the property of the United 
Kingdom Hydrographic Office and are intended for the confidential use of the 
named recipient only. Its unauthorised use, disclosure, storage or copying is 
not permitted and may be unlawful. If you are not the intended recipient, 
please destroy all copies and inform the sender by return e-mail. This footnote 
also confirms that this e-mail message has been scanned for the presence of 
computer viruses. You are however advised to carry out your own virus checks.

 

**
___
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general


Re: [MarkLogic Dev General] unsubscribe

2015-03-31 Thread UdayKiran.Sattaru
Hi

I want to unsubscribe from ur mailing list. I don't want to receive any mails 
from this  address. Pls unsubscribe my mail.
This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient(s), please reply to the sender and 
destroy all copies of the original message. Any unauthorized review, use, 
disclosure, dissemination, forwarding, printing or copying of this email, 
and/or any action taken in reliance on the contents of this e-mail is strictly 
prohibited and may be unlawful. Where permitted by applicable law, this e-mail 
and other e-mail communications sent to and from Cognizant e-mail addresses may 
be monitored.
___
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general


Re: [MarkLogic Dev General] unsubscribe

2015-03-31 Thread Sudheer Yalaverthi
Classification: Public
You can use the below link to unsubscribe.

http://developer.marklogic.com/mailman/listinfo/general





From: general-boun...@developer.marklogic.com 
[mailto:general-boun...@developer.marklogic.com] On Behalf Of 
udaykiran.satt...@cognizant.com
Sent: Tuesday, March 31, 2015 9:14 AM
To: general@developer.marklogic.com
Subject: Re: [MarkLogic Dev General] unsubscribe

Hi

I want to unsubscribe from ur mailing list. I don't want to receive any mails 
from this  address. Pls unsubscribe my mail.
This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient(s), please reply to the sender and 
destroy all copies of the original message. Any unauthorized review, use, 
disclosure, dissemination, forwarding, printing or copying of this email, 
and/or any action taken in reliance on the contents of this e-mail is strictly 
prohibited and may be unlawful. Where permitted by applicable law, this e-mail 
and other e-mail communications sent to and from Cognizant e-mail addresses may 
be monitored.


---
This communication may contain confidential and/or privileged information. If 
you are not the intended recipient (or have received this communication in 
error) please notify the sender immediately and destroy this communication. Any 
unauthorized copying, disclosure or distribution of the material in this 
communication is strictly forbidden.

Deutsche Bank does not render legal or tax advice, and the information 
contained in this communication should not be regarded as such.
___
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general


[MarkLogic Dev General] unsubscribe

2015-02-27 Thread Rachel Wilson


From: Nachiketa Kulkarni 
nachiketa_kulka...@infosys.commailto:nachiketa_kulka...@infosys.com
Reply-To: MarkLogic Developer Discussion 
general@developer.marklogic.commailto:general@developer.marklogic.com
Date: Friday, 27 February 2015 08:35
To: general@developer.marklogic.commailto:general@developer.marklogic.com 
general@developer.marklogic.commailto:general@developer.marklogic.com
Subject: [MarkLogic Dev General] search result mismatch

Hi,

I am using the search:search API in ML with a few search options. The search 
terms are passed in the options tag. However, there is a mismatch between the 
“total” count shown in the search response and the number of search results. 
This happens after introducing cts:near-query() as one of the additional 
queries in search options. The details are given below:

Query:

let $searchOptions :=
options xmlns=http://marklogic.com/appservices/search;
  debugfalse/debug
  search-optionscore-logtfidf/search-option
  term
term-optioncase-insensitive/term-option
term-optiondiacritic-insensitive/term-option
term-optionpunctuation-insensitive/term-option
  /term
-
-
   additional-query
   cts:and-query xmlns:cts=http://marklogic.com/cts
  cts:directory-query depth=”infinity”
   -
(: few options here:)
   -
  /cts:directory-query
   cts:near-query distance=10 xmlns:cts=http://marklogic.com/cts;
 cts:word-query
 cts:text xml:lang=enfonds commerce/cts:text
 /cts:word-query
 cts:word-query
cts:text xml:lang=encession/cts:text
 /cts:word-query
   /cts:near-query

   -
(: few more options here:)
   -
/options
return search:search(“”, $searchOptions)

Response:

In response, the expected result after using the near-query is “2”. However, 
the total count shown is “6”.

search:response snippet-format=src-snippet total=6 start=1 
page-length=10…….
 search:result index=1 uri=”……
 --
 --
 /search:result
 search:result index=2 uri=”……
 --
 --
 /search:result
/search:response

Regards,
Nachi


 CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are 
not
to copy, disclose, or distribute this e-mail or its contents to any other 
person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has 
taken
every reasonable precaution to minimize this risk, but is not liable for any 
damage
you may sustain as a result of any virus in this e-mail. You should carry out 
your
own virus checks before opening the e-mail or attachment. Infosys reserves the
right to monitor and review the content of all messages sent to or from this 
e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
***INFOSYS End of Disclaimer INFOSYS***

___
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general


Re: [MarkLogic Dev General] Unsubscribe

2014-12-08 Thread Erik Zander
Terry
You may unsubscribe at the following link
http://developer.marklogic.com/mailman/listinfo/general
Regards
Erik

Från: Austin, Theresa [mailto:]
Skickat: den 8 december 2014 14:43
Till: General@developer.marklogic.com
Ämne: [MarkLogic Dev General] Unsubscribe

Good morning.

Please remove me from your mailing list. My inbox is getting flooded most days 
of the week.

- Terry


Theresa Austin
Strategic Architect
Enterprise Architecture (EA)
aust...@aetna.commailto:aust...@aetna.com
215-775-2386

This e-mail may contain confidential or privileged information. If you think 
you have received this e-mail in error, please advise the sender by reply 
e-mail and then delete this e-mail immediately. Thank you. Aetna
___
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general


[MarkLogic Dev General] unsubscribe

2014-06-04 Thread Analyze That | Johan van den Brink



Met vriendelijke groet,


Johan van den Brink
Consultant
Analyze That -  Analytics | Data Integration | Reporting | Process Mining
Kerkewijk 8
3901 EG Veenendaal
T: (06) 49 92 30 30
T: (0318) 52 55 87
M: jo...@analyzethat.nlmailto:jo...@analyzethat.nl
W: www.analyzethat.nlhttp://www.analyzethat.nl/
L: http://nl.linkedin.com/in/brinkjohanvanden

___
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general


[MarkLogic Dev General] unsubscribe

2014-06-04 Thread Greg Suprock

___
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general


[MarkLogic Dev General] unsubscribe

2014-06-04 Thread himanshu kapsime

___
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general


[MarkLogic Dev General] unsubscribe

2014-06-04 Thread Shaun Venus

From: himanshu kapsimemailto:hkaps...@gmail.com
Sent: ‎04/‎06/‎2014 13:52
To: MarkLogic Developer Discussionmailto:general@developer.marklogic.com
Subject: [MarkLogic Dev General]  unsubscribe


___
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general


[MarkLogic Dev General] UNSUBSCRIBE ME PLASE

2014-04-03 Thread Robert Aubin
https://www.google.com/search?q=gentrification+hochelaga-maisonneuveie=utf-8oe=utf-8aq=trls=org.mozilla:fr:officialclient=firefox-a
___
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general


Re: [MarkLogic Dev General] Unsubscribe from this site

2014-03-27 Thread Santhosh.Rajasekaran2
Hi Jyothi,

You have to deregister from the mailing list for that.
You will get a mail hopefully everymonth, whether you want to continue or opt 
to stop. You can do that to stop.

From: general-boun...@developer.marklogic.com 
[mailto:general-boun...@developer.marklogic.com] On Behalf Of 
jyothi_loh...@dell.com
Sent: Thursday, March 27, 2014 9:06 AM
To: General@developer.marklogic.com
Subject: [MarkLogic Dev General] Unsubscribe from this site


Dell - Internal Use - Confidential
Hi All,

Please do not send any more e-mails to my mail id.

Thanks  Regards,
Jyothi Lohiya

This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient(s), please reply to the sender and 
destroy all copies of the original message. Any unauthorized review, use, 
disclosure, dissemination, forwarding, printing or copying of this email, 
and/or any action taken in reliance on the contents of this e-mail is strictly 
prohibited and may be unlawful.
___
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general


Re: [MarkLogic Dev General] Unsubscribe from this site

2014-03-27 Thread Geert Josten
Hi Jyothi,

 

You can use this link to unscribe, or change your subscription:

 

http://developer.marklogic.com/mailman/options/general

 

Kind regards,

Geert

 

Van: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] Namens
santhosh.rajasekar...@cognizant.com
Verzonden: donderdag 27 maart 2014 8:17
Aan: general@developer.marklogic.com
Onderwerp: Re: [MarkLogic Dev General] Unsubscribe from this site

 

Hi Jyothi,

 

You have to deregister from the mailing list for that.

You will get a mail hopefully everymonth, whether you want to continue or
opt to stop. You can do that to stop.

 

From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of
jyothi_loh...@dell.com
Sent: Thursday, March 27, 2014 9:06 AM
To: General@developer.marklogic.com
Subject: [MarkLogic Dev General] Unsubscribe from this site

 

Dell - Internal Use - Confidential 

Hi All,

 

Please do not send any more e-mails to my mail id.

 

Thanks  Regards,

Jyothi Lohiya

 

This e-mail and any files transmitted with it are for the sole use of the
intended recipient(s) and may contain confidential and privileged
information. If you are not the intended recipient(s), please reply to the
sender and destroy all copies of the original message. Any unauthorized
review, use, disclosure, dissemination, forwarding, printing or copying of
this email, and/or any action taken in reliance on the contents of this
e-mail is strictly prohibited and may be unlawful. 

___
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general


[MarkLogic Dev General] Unsubscribe from this site

2014-03-26 Thread Jyothi_Lohiya
Dell - Internal Use - Confidential
Hi All,

Please do not send any more e-mails to my mail id.

Thanks  Regards,
Jyothi Lohiya

___
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general


[MarkLogic Dev General] Unsubscribe request (10/5/2013)

2013-10-05 Thread Klinton Lee
Please unsubscribe from all lists,
Thank you.

-- Forwarded message --
From: general-requ...@developer.marklogic.com
Date: Fri, Oct 4, 2013 at 7:22 PM
Subject: General Digest, Vol 112, Issue 10
To: general@developer.marklogic.com


Send General mailing list submissions to
general@developer.marklogic.com

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
general-requ...@developer.marklogic.com

You can reach the person managing the list at
general-ow...@developer.marklogic.com

When replying, please edit your Subject line so it is more specific
than Re: Contents of General digest...


Today's Topics:

   1. Re: Schema Validation problem (Andres Felipe Restrepo Pino)


--

Message: 1
Date: Fri, 4 Oct 2013 17:58:53 -0500
From: Andres Felipe Restrepo Pino
andresfelipe.restr...@yuxipacific.com
Subject: Re: [MarkLogic Dev General] Schema Validation problem
To: MarkLogic Developer Discussion general@developer.marklogic.com
Message-ID:
CAA3=rprL0XEsT=p875fftttqlhmdgtqoyzuh3dxzystqprt...@mail.gmail.com
Content-Type: text/plain; charset=windows-1252

I'm referring the XSD file with the attributes on the root node  of the
XML: xsi:schemaLocation=TLela.xsd xmlns:xsi=
http://www.w3.org/2001/XMLSchema-instance;, using this the It doesn't work
all the way, I mean, The validator returns empty, so It validates but no
with all the xsd specifications.
the script from the qconsole is:

xquery version 1.0-ml;
let $file := fn:doc(/path/TLela.xml)
return
try{
  validate strict { $file }}
 catch ($e) {
failed: ,$e/error:format-string/text()
  }

Thanks


On 4 October 2013 17:11, Mary Holstege mary.holst...@marklogic.com wrote:

  As an addendum, I'd say that more than there being no namespace, there
are multiple schema documents per namespace, so exactly how you reference
the schemas makes a difference. What it's the query you use to validate?
//mary

 Danny Sokolsky danny.sokol...@marklogic.com wrote:


  Below are the schema and XML files (sent off-list, along with the fact
 that he is running 6.0-2.3).



 Andres, 3 things to think about here:  1) I don?t see a target namespace
 in your schema documents.  2) your XML document is in no namespace.   3)
 have you tried this on 6.0-4?  There were a lot of schema issues fixed
 between 6.0-2 and 6.0-4.



 If you are using schemas, you should really not use no namespace, as it
 becomes very difficult to work out what is going on.



 Here is childs_declaration.xsd:



 ?xml version=1.0 encoding=UTF-8?

 xs:schema attributeFormDefault=unqualified
 elementFormDefault=unqualified

   xmlns:xs=http://www.w3.org/2001/XMLSchema;

   !--elements--

   xs:element name=TermList/

   xs:element name=TermInfo type=child_elements/

   !--end elements--

   !--complexTypes--

   xs:complexType name=text_elements mixed=true

 xs:choice minOccurs=0 maxOccurs=unbounded

   xs:group ref=text_elements/

 /xs:choice

   /xs:complexType

   !--*--

   xs:complexType name=child_elements mixed=true

 xs:choice

   xs:sequence maxOccurs=1

 xs:element name=T type=text_elements/

 xs:choice minOccurs=0 maxOccurs=unbounded

   xs:group ref=child_elements/

/xs:choice

 xs:element name=ID type=text_elements/

 xs:sequence minOccurs=0 maxOccurs=unbounded

   xs:group ref=child_elements/

 /xs:sequence

   /xs:sequence

   xs:sequence maxOccurs=1

 xs:element name=ID type=text_elements/

 xs:choice minOccurs=0 maxOccurs=unbounded

   xs:group ref=child_elements/

 /xs:choice

 xs:element name=T type=text_elements/

 xs:sequence minOccurs=0 maxOccurs=unbounded

   xs:group ref=child_elements/

 /xs:sequence

   /xs:sequence

 /xs:choice

   /xs:complexType

   !--complexTypes--

   !--groups--

   xs:group name=child_elements

 xs:choice

   xs:element ref=TermInfo minOccurs=1 maxOccurs=unbounded/

   xs:element ref=TermList/

   xs:element name=QC type=text_elements minOccurs=0
 maxOccurs=unbounded/

   xs:element name=Status type=text_elements minOccurs=0
 maxOccurs=unbounded/

   xs:element name=UF type=text_elements minOccurs=0
 maxOccurs=unbounded/

   xs:element name=RT type=text_elements minOccurs=0
 maxOccurs=unbounded/

   xs:element name=ttm type=text_elements minOccurs=0
 maxOccurs=unbounded/

   xs:element name=RS type=text_elements minOccurs=0
 maxOccurs=unbounded/

   xs:element name=TLID type=text_elements minOccurs=0
 maxOccurs=unbounded/

   xs:element name=CCSSMathText type=text_elements minOccurs=0
 maxOccurs=unbounded/

   xs:element name=CCSSELAText type=text_elements 

[MarkLogic Dev General] unsubscribe

2013-07-19 Thread Fergus, Kenneth G
Please remove this email address. Thanks
___
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general


[MarkLogic Dev General] unsubscribe

2011-05-25 Thread Anders Falk
unsubscribe

___
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general


[MarkLogic Dev General] unsubscribe

2010-03-02 Thread Rakesh rao
Please unsubscribe me from the list.

Thanks,
Rao

On Tue, Mar 2, 2010 at 2:00 PM, general-requ...@developer.marklogic.comwrote:

 Send General mailing list submissions to
general@developer.marklogic.com

 To subscribe or unsubscribe via the World Wide Web, visit
http://xqzone.com/mailman/listinfo/general
 or, via email, send a message with subject or body 'help' to
general-requ...@developer.marklogic.com

 You can reach the person managing the list at
general-ow...@developer.marklogic.com

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of General digest...


 Today's Topics:

   1. RE: user installation using a query (Lee, David)


 --

 Message: 1
 Date: Tue, 2 Mar 2010 11:08:49 -0800
 From: Lee, David d...@epocrates.com
 Subject: RE: [MarkLogic Dev General] user installation using a query
 To: General Mark Logic Developer Discussion
general@developer.marklogic.com
 Message-ID: dd37f70d78609d4e9587d473fc61e0a716c1e...@postoffice
 Content-Type: text/plain;   charset=us-ascii

 -- Quote -
 Ok this sounds good - so assuming the initial configuration is in a
 file called setup.xqy could you provide and example of how would the
 user run it using xmlsh?
 --

 If all you need to do is post a single xquery file then using curl on
 your CD would probably be easiset.
 Where something like xmlsh benifits is if you have to do more then that,
 such as was mentioned in a previous post about dynamically creating the
 configuration data using xslt or xquery then invoking dynamic queries to
 the ML server.
 xmlsh provides full cross-platform scripting of most major XML tools as
 well as integration in the shell of XDM types directly so scripting this
 sort of thing is exactly what its good at.

 To answer your question.
 Presuming you have a CD with all the prerequisits for xmlsh (essentially
 the Java runtime if it doesnt exist, plus the xmlsh runtime plus the ML
 extension).   And you have a simple file like setup.xqy

 You would make an xmlsh script file like this

 install.xsh
 -
 import module ml=marklogic
 MLCONNECT=xcc://...connection string
 ml:query -f setup.xqy
 

 Then run this in your .bat or .sh file as

 xmlsh install.xsh








 -Original Message-
 From: general-boun...@developer.marklogic.com
 [mailto:general-boun...@developer.marklogic.com] On Behalf Of Andrew
 Welch
 Sent: Tuesday, March 02, 2010 1:17 PM
 To: General Mark Logic Developer Discussion
 Subject: Re: [MarkLogic Dev General] user installation using a query

 On 2 March 2010 18:04, Lee, David d...@epocrates.com wrote:
  You might want to consider the MarkLogic extension to xmlsh which
  provides cross-platform access to xml processing and sending requests
  via either HTTP or XCC.
  This is all 100% pure java so the scripting, and the execution will
  run identically independent of the OS.
  (windows, linux/unix , mac ... anything with a Java 1.6 ).
  And since it can execute ad-hoc queries constructed dynamnically it
  doesn't rely on /use-cases/eval2.xqy pre-existing.
 
  This way you don't have to write separate .BAT and .sh files for
  different OS's or depend on installations of additional 3rd party
 tools
  (like curl, perl, etc).
 
  http://www.xmlsh.org

 Ok this sounds good - so assuming the initial configuration is in a
 file called setup.xqy could you provide and example of how would the
 user run it using xmlsh?

 Fwiw, curl doesn't need installing, it would just need to be on the
 disc, so the user could just run install.bat and that would be it
 (providing the query it curls to eval2.xqy runs without a problem)


 --
 Andrew Welch
 http://andrewjwelch.com
 Kernow: http://kernowforsaxon.sf.net/
 ___
 General mailing list
 General@developer.marklogic.com
 http://xqzone.com/mailman/listinfo/general


 --

 ___
 General mailing list
 General@developer.marklogic.com
 http://xqzone.com/mailman/listinfo/general


 End of General Digest, Vol 69, Issue 10
 ***

___
General mailing list
General@developer.marklogic.com
http://xqzone.com/mailman/listinfo/general


[MarkLogic Dev General] unsubscribe

2008-09-26 Thread John Watson
 


**
Satellite Information Services Limited Registered Office:
17 Corsham Street London N1 6DR, Company No. 4243307

The information in this e-mail (which includes any files
transmitted with it) is confidential and is intended for the
addressee only. Unauthorised recipients are required to
maintain confidentiality. If you have received this e-mail
in error please notify the sender immediately, destroy any
copies and delete it from your computer system. 
**

___
General mailing list
General@developer.marklogic.com
http://xqzone.com/mailman/listinfo/general