Re: [MarkLogic Dev General] Role based security in ml

2012-12-13 Thread Justin Makeig
I don’t know the details of how Corona assigns permissions to documents, but it 
sounds like you don’t have a read permission for the corona-dev role on any of 
your documents. Permissions associate capabilities (read, insert, update, and 
execute) with a role (e.g. corona-dev). Permissions are assigned to documents 
(usually at load time). Take a look at the “Document Permissions” section of 
the Security Guide in the docs 
 to understand 
what’s happening under the covers.

Justin


Justin Makeig
Director, Product Management
MarkLogic Corporation
justin.mak...@marklogic.com
Phone: +1 650 655 2387
www.marklogic.com



On Dec 13, 2012, at 9:39 PM, manoj viswanadha 
mailto:manoj.viswana...@gmail.com>> wrote:

Hi Geert,

Thanks for your quick reply. I have created a user and gave corona-dev role and 
still i am not able
to get the results until i give him admin role. Am i missing any configuration 
settings from corona
side?

Thanks,
Manoj.

On Fri, Dec 14, 2012 at 1:28 AM, Geert Josten 
mailto:geert.jos...@dayon.nl>> wrote:
Hi Manoj,

The Corona setup includes creation of two corona roles: corona-admin and 
corona-dev. The corona-dev role is probably what you are looking for. Just 
create MarkLogic users that have that role, and that should suffice.

See also: https://github.com/marklogic/Corona/wiki/Corona%20Overview

Kind regards,
Geert

Van: 
general-boun...@developer.marklogic.com
 
[mailto:general-boun...@developer.marklogic.com]
 Namens manoj.viswanadha
Verzonden: donderdag 13 december 2012 19:40
Aan: general@developer.marklogic.com
Onderwerp: [MarkLogic Dev General] Role based security in ml


Hi all,

I am using ml security and created few roles and users. My requirement is to 
restrict the http servers where corona is configured for specific users. I want 
specific users to access the corona search only and will have no other 
privilages.i have followed the steps mentioned in ml security pdf and created 
execute privilage and role and assiged that to user and in http admin 
configuration chaged the previlage and given security as digest. I have tried 
diffen
ent ways but unable to achieve above. Can anyone help me out to create a user 
who can have only acess to http sever and able to hit the corona search using 
restful webservices with out giving admin role.
Thanks,
Manoj.
Sent from Samsung Galaxy Note

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


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

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


Re: [MarkLogic Dev General] Role based security in ml

2012-12-13 Thread manoj viswanadha
Hi Geert,

Thanks for your quick reply. I have created a user and gave corona-dev role
and still i am not able
to get the results until i give him admin role. Am i missing any
configuration settings from corona
side?

Thanks,
Manoj.

On Fri, Dec 14, 2012 at 1:28 AM, Geert Josten  wrote:

> Hi Manoj,
>
>
>
> The Corona setup includes creation of two corona roles: corona-admin and
> corona-dev. The corona-dev role is probably what you are looking for. Just
> create MarkLogic users that have that role, and that should suffice.
>
>
>
> See also: https://github.com/marklogic/Corona/wiki/Corona%20Overview
>
>
>
> Kind regards,
>
> Geert
>
>
>
> *Van:* general-boun...@developer.marklogic.com [mailto:
> general-boun...@developer.marklogic.com] *Namens *manoj.viswanadha
> *Verzonden:* donderdag 13 december 2012 19:40
> *Aan:* general@developer.marklogic.com
> *Onderwerp:* [MarkLogic Dev General] Role based security in ml
>
>
>
>
>
> Hi all,
>
>
>
> I am using ml security and created few roles and users. My requirement is
> to restrict the http servers where corona is configured for specific users.
> I want specific users to access the corona search only and will have no
> other privilages.i have followed the steps mentioned in ml security pdf and
> created execute privilage and role and assiged that to user and in http
> admin configuration chaged the previlage and given security as digest. I
> have tried diffen
>
> ent ways but unable to achieve above. Can anyone help me out to create a
> user who can have only acess to http sever and able to hit the corona
> search using restful webservices with out giving admin role.
>
> Thanks,
>
> Manoj.
>
> Sent from Samsung Galaxy Note
>
> ___
> General mailing list
> General@developer.marklogic.com
> http://developer.marklogic.com/mailman/listinfo/general
>
>
___
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general


Re: [MarkLogic Dev General] cpf install not scriptable via admin api?

2012-12-13 Thread Damon Feldman

I'm sorry, that's an internal MarkLogic link. The Roxy framework can be 
accessed here: http://developer.marklogic.com/code/roxy, and I believe the 
deployer will automatically install CPF.

Yours,
Damon


From: general-boun...@developer.marklogic.com 
[general-boun...@developer.marklogic.com] on behalf of Damon Feldman 
[damon.feld...@marklogic.com]
Sent: Thursday, December 13, 2012 9:38 PM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] cpf install not scriptable via admin api?

I think a couple people have scripted CPF install, including Roxy, though I 
have not tried it myself. See: 
https://lists.marklogic.com/message/c67fdpx5cdgchvy4.

Damon

From: general-boun...@developer.marklogic.com 
[general-boun...@developer.marklogic.com] on behalf of Danny Sokolsky 
[danny.sokol...@marklogic.com]
Sent: Thursday, December 13, 2012 4:58 PM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] cpf install not scriptable via admin api?

Hi Jakob,

You are correct, you just need to load up the pipelines, which is not done with 
the Admin API.  There is a cpf api to help you do that:

http://docs.marklogic.com/cpf

CPF being "installed" means that all the cpf artifacts are available.

Once you load up the cpf stuff, if you look in the Admin Interface, you will 
see cpf showing up as "installed".

-Danny

-Original Message-
From: general-boun...@developer.marklogic.com 
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Jakob Fix
Sent: Thursday, December 13, 2012 1:31 PM
To: General Mark Logic Developer Discussion
Subject: [MarkLogic Dev General] cpf install not scriptable via admin api?

Hi,

I'm looking to script the complete set up of an application of ours.
One of the tasks that needs to be executed when configuring the application is 
the installation of the content processing framework.

I can't find any functions in the admin api, and it seems that the user 
interface is not using an api either.

I read here how to create and import pipelines, but is there a scriptable way 
to "install" the CPF?
http://docs.marklogic.com/guide/admin-api/cpf#id_81216

Do I need to "install" CPF, or can I just create my domains, load my pipelines 
and am good to go?

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


Re: [MarkLogic Dev General] cpf install not scriptable via admin api?

2012-12-13 Thread Damon Feldman
I think a couple people have scripted CPF install, including Roxy, though I 
have not tried it myself. See: 
https://lists.marklogic.com/message/c67fdpx5cdgchvy4.

Damon

From: general-boun...@developer.marklogic.com 
[general-boun...@developer.marklogic.com] on behalf of Danny Sokolsky 
[danny.sokol...@marklogic.com]
Sent: Thursday, December 13, 2012 4:58 PM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] cpf install not scriptable via admin api?

Hi Jakob,

You are correct, you just need to load up the pipelines, which is not done with 
the Admin API.  There is a cpf api to help you do that:

http://docs.marklogic.com/cpf

CPF being "installed" means that all the cpf artifacts are available.

Once you load up the cpf stuff, if you look in the Admin Interface, you will 
see cpf showing up as "installed".

-Danny

-Original Message-
From: general-boun...@developer.marklogic.com 
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Jakob Fix
Sent: Thursday, December 13, 2012 1:31 PM
To: General Mark Logic Developer Discussion
Subject: [MarkLogic Dev General] cpf install not scriptable via admin api?

Hi,

I'm looking to script the complete set up of an application of ours.
One of the tasks that needs to be executed when configuring the application is 
the installation of the content processing framework.

I can't find any functions in the admin api, and it seems that the user 
interface is not using an api either.

I read here how to create and import pipelines, but is there a scriptable way 
to "install" the CPF?
http://docs.marklogic.com/guide/admin-api/cpf#id_81216

Do I need to "install" CPF, or can I just create my domains, load my pipelines 
and am good to go?

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


Re: [MarkLogic Dev General] cpf install not scriptable via admin api?

2012-12-13 Thread David Lee
To add my .01 Euro.

EVERYTHING in MarkLogic is scriptable.

http://www.xmlsh.org/ModuleMarkLogic



-
David Lee
Lead Engineer
MarkLogic Corporation
d...@marklogic.com
Phone: +1 812-482-5224
Cell:  +1 812-630-7622
www.marklogic.com



-Original Message-
From: general-boun...@developer.marklogic.com 
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Eric Bloch
Sent: Thursday, December 13, 2012 6:58 PM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] cpf install not scriptable via admin api?

Everytime I read "admin-api" (even in an URL), all I can think of is Charles' 
awesome rap http://developer.marklogic.com/blog/admin-api-squeezebox

-Eric


On Dec 13, 2012, at 3:44 PM, Danny Sokolsky  
wrote:

> BTW, here is a link in the docs to some info on how you script this:
> 
> http://docs.marklogic.com/guide/admin-api/cpf
> 
> -Danny
> 
> 
> -Original Message-
> From: general-boun...@developer.marklogic.com 
> [mailto:general-boun...@developer.marklogic.com] On Behalf Of Mary Holstege
> Sent: Thursday, December 13, 2012 3:04 PM
> To: General Mark Logic Developer Discussion; Jakob Fix
> Subject: Re: [MarkLogic Dev General] cpf install not scriptable via admin api?
> 
> On Thu, 13 Dec 2012 13:30:59 -0800, Jakob Fix  wrote:
> 
>> Hi,
>> 
>> I'm looking to script the complete set up of an application of ours.
>> One of the tasks that needs to be executed when configuring the 
>> application is the installation of the content processing framework.
>> 
>> I can't find any functions in the admin api, and it seems that the 
>> user interface is not using an api either.
>> 
>> I read here how to create and import pipelines, but is there a 
>> scriptable way to "install" the CPF?
>> http://docs.marklogic.com/guide/admin-api/cpf#id_81216
>> 
>> Do I need to "install" CPF, or can I just create my domains, load my 
>> pipelines and am good to go?
> 
> CPF installation is scriptable, but it is part of the CPF (domains) API, 
> rather than the admin API.
> 
> What the CPF "install" button does is:
> (1) dom:configuration-create
> This needs to be done once for each triggers dataabase you
> are using. It sets up the context for the restart trigger
> so that CPF will properly pick up where it left off in
> event of a server restart.
> (2) dom:create
> Create a domain. The "install" button creates a directory
> domain for "/", but you don't have to.
> (3) Loads all the standard pipelines under the Installer
> directory and its subdirectories. You only need to
> load the ones you intend to use.
> (4) Use dom:add-pipeline/dom:set-pipelines to attach the appropriate
> pipelines to the domain it created. The exact set depends on
> whether you selected to install the conversion pipelines or not.
> 
> You essentially need to follow these same steps in your script.
> 
> //Mary
> 
> Mary Holstege
> Principal Engineer
> MarkLogic Corporation
> 
> 
> 
> 
> ___
> General mailing list
> General@developer.marklogic.com
> http://developer.marklogic.com/mailman/listinfo/general
> ___
> General mailing list
> General@developer.marklogic.com
> http://developer.marklogic.com/mailman/listinfo/general

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


Re: [MarkLogic Dev General] cpf install not scriptable via admin api?

2012-12-13 Thread Eric Bloch
Everytime I read "admin-api" (even in an URL), all I can think of is Charles' 
awesome rap http://developer.marklogic.com/blog/admin-api-squeezebox

-Eric


On Dec 13, 2012, at 3:44 PM, Danny Sokolsky  
wrote:

> BTW, here is a link in the docs to some info on how you script this:
> 
> http://docs.marklogic.com/guide/admin-api/cpf
> 
> -Danny
> 
> 
> -Original Message-
> From: general-boun...@developer.marklogic.com 
> [mailto:general-boun...@developer.marklogic.com] On Behalf Of Mary Holstege
> Sent: Thursday, December 13, 2012 3:04 PM
> To: General Mark Logic Developer Discussion; Jakob Fix
> Subject: Re: [MarkLogic Dev General] cpf install not scriptable via admin api?
> 
> On Thu, 13 Dec 2012 13:30:59 -0800, Jakob Fix  wrote:
> 
>> Hi,
>> 
>> I'm looking to script the complete set up of an application of ours.
>> One of the tasks that needs to be executed when configuring the 
>> application is the installation of the content processing framework.
>> 
>> I can't find any functions in the admin api, and it seems that the 
>> user interface is not using an api either.
>> 
>> I read here how to create and import pipelines, but is there a 
>> scriptable way to "install" the CPF?
>> http://docs.marklogic.com/guide/admin-api/cpf#id_81216
>> 
>> Do I need to "install" CPF, or can I just create my domains, load my 
>> pipelines and am good to go?
> 
> CPF installation is scriptable, but it is part of the CPF (domains) API, 
> rather than the admin API.
> 
> What the CPF "install" button does is:
> (1) dom:configuration-create
> This needs to be done once for each triggers dataabase you
> are using. It sets up the context for the restart trigger
> so that CPF will properly pick up where it left off in
> event of a server restart.
> (2) dom:create
> Create a domain. The "install" button creates a directory
> domain for "/", but you don't have to.
> (3) Loads all the standard pipelines under the Installer
> directory and its subdirectories. You only need to
> load the ones you intend to use.
> (4) Use dom:add-pipeline/dom:set-pipelines to attach the appropriate
> pipelines to the domain it created. The exact set depends on
> whether you selected to install the conversion pipelines or not.
> 
> You essentially need to follow these same steps in your script.
> 
> //Mary
> 
> Mary Holstege
> Principal Engineer
> MarkLogic Corporation
> 
> 
> 
> 
> ___
> General mailing list
> General@developer.marklogic.com
> http://developer.marklogic.com/mailman/listinfo/general
> ___
> General mailing list
> General@developer.marklogic.com
> http://developer.marklogic.com/mailman/listinfo/general

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


Re: [MarkLogic Dev General] cpf install not scriptable via admin api?

2012-12-13 Thread Danny Sokolsky
BTW, here is a link in the docs to some info on how you script this:

http://docs.marklogic.com/guide/admin-api/cpf

-Danny


-Original Message-
From: general-boun...@developer.marklogic.com 
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Mary Holstege
Sent: Thursday, December 13, 2012 3:04 PM
To: General Mark Logic Developer Discussion; Jakob Fix
Subject: Re: [MarkLogic Dev General] cpf install not scriptable via admin api?

On Thu, 13 Dec 2012 13:30:59 -0800, Jakob Fix  wrote:

> Hi,
>
> I'm looking to script the complete set up of an application of ours.
> One of the tasks that needs to be executed when configuring the 
> application is the installation of the content processing framework.
>
> I can't find any functions in the admin api, and it seems that the 
> user interface is not using an api either.
>
> I read here how to create and import pipelines, but is there a 
> scriptable way to "install" the CPF?
> http://docs.marklogic.com/guide/admin-api/cpf#id_81216
>
> Do I need to "install" CPF, or can I just create my domains, load my 
> pipelines and am good to go?

CPF installation is scriptable, but it is part of the CPF (domains) API, rather 
than the admin API.

What the CPF "install" button does is:
(1) dom:configuration-create
 This needs to be done once for each triggers dataabase you
 are using. It sets up the context for the restart trigger
 so that CPF will properly pick up where it left off in
 event of a server restart.
(2) dom:create
 Create a domain. The "install" button creates a directory
 domain for "/", but you don't have to.
(3) Loads all the standard pipelines under the Installer
 directory and its subdirectories. You only need to
 load the ones you intend to use.
(4) Use dom:add-pipeline/dom:set-pipelines to attach the appropriate
 pipelines to the domain it created. The exact set depends on
 whether you selected to install the conversion pipelines or not.

You essentially need to follow these same steps in your script.

//Mary

Mary Holstege
Principal Engineer
MarkLogic Corporation




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


Re: [MarkLogic Dev General] cpf install not scriptable via admin api?

2012-12-13 Thread Mary Holstege
On Thu, 13 Dec 2012 13:30:59 -0800, Jakob Fix  wrote:

> Hi,
>
> I'm looking to script the complete set up of an application of ours.
> One of the tasks that needs to be executed when configuring the
> application is the installation of the content processing framework.
>
> I can't find any functions in the admin api, and it seems that the
> user interface is not using an api either.
>
> I read here how to create and import pipelines, but is there a
> scriptable way to "install" the CPF?
> http://docs.marklogic.com/guide/admin-api/cpf#id_81216
>
> Do I need to "install" CPF, or can I just create my domains, load my
> pipelines and am good to go?

CPF installation is scriptable, but it is part of the CPF (domains) API,
rather than the admin API.

What the CPF "install" button does is:
(1) dom:configuration-create
 This needs to be done once for each triggers dataabase you
 are using. It sets up the context for the restart trigger
 so that CPF will properly pick up where it left off in
 event of a server restart.
(2) dom:create
 Create a domain. The "install" button creates a directory
 domain for "/", but you don't have to.
(3) Loads all the standard pipelines under the Installer
 directory and its subdirectories. You only need to
 load the ones you intend to use.
(4) Use dom:add-pipeline/dom:set-pipelines to attach the appropriate
 pipelines to the domain it created. The exact set depends on
 whether you selected to install the conversion pipelines or not.

You essentially need to follow these same steps in your script.

//Mary

Mary Holstege
Principal Engineer
MarkLogic Corporation




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


Re: [MarkLogic Dev General] cpf install not scriptable via admin api?

2012-12-13 Thread Danny Sokolsky
Hi Jakob,

You are correct, you just need to load up the pipelines, which is not done with 
the Admin API.  There is a cpf api to help you do that:

http://docs.marklogic.com/cpf

CPF being "installed" means that all the cpf artifacts are available.

Once you load up the cpf stuff, if you look in the Admin Interface, you will 
see cpf showing up as "installed".

-Danny

-Original Message-
From: general-boun...@developer.marklogic.com 
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Jakob Fix
Sent: Thursday, December 13, 2012 1:31 PM
To: General Mark Logic Developer Discussion
Subject: [MarkLogic Dev General] cpf install not scriptable via admin api?

Hi,

I'm looking to script the complete set up of an application of ours.
One of the tasks that needs to be executed when configuring the application is 
the installation of the content processing framework.

I can't find any functions in the admin api, and it seems that the user 
interface is not using an api either.

I read here how to create and import pipelines, but is there a scriptable way 
to "install" the CPF?
http://docs.marklogic.com/guide/admin-api/cpf#id_81216

Do I need to "install" CPF, or can I just create my domains, load my pipelines 
and am good to go?

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


[MarkLogic Dev General] cpf install not scriptable via admin api?

2012-12-13 Thread Jakob Fix
Hi,

I'm looking to script the complete set up of an application of ours.
One of the tasks that needs to be executed when configuring the
application is the installation of the content processing framework.

I can't find any functions in the admin api, and it seems that the
user interface is not using an api either.

I read here how to create and import pipelines, but is there a
scriptable way to "install" the CPF?
http://docs.marklogic.com/guide/admin-api/cpf#id_81216

Do I need to "install" CPF, or can I just create my domains, load my
pipelines and am good to go?

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


Re: [MarkLogic Dev General] Role based security in ml

2012-12-13 Thread Geert Josten
Hi Manoj,



The Corona setup includes creation of two corona roles: corona-admin and
corona-dev. The corona-dev role is probably what you are looking for. Just
create MarkLogic users that have that role, and that should suffice.



See also: https://github.com/marklogic/Corona/wiki/Corona%20Overview



Kind regards,

Geert



*Van:* general-boun...@developer.marklogic.com [mailto:
general-boun...@developer.marklogic.com] *Namens *manoj.viswanadha
*Verzonden:* donderdag 13 december 2012 19:40
*Aan:* general@developer.marklogic.com
*Onderwerp:* [MarkLogic Dev General] Role based security in ml





Hi all,



I am using ml security and created few roles and users. My requirement is
to restrict the http servers where corona is configured for specific users.
I want specific users to access the corona search only and will have no
other privilages.i have followed the steps mentioned in ml security pdf and
created execute privilage and role and assiged that to user and in http
admin configuration chaged the previlage and given security as digest. I
have tried diffen

ent ways but unable to achieve above. Can anyone help me out to create a
user who can have only acess to http sever and able to hit the corona
search using restful webservices with out giving admin role.

Thanks,

Manoj.

Sent from Samsung Galaxy Note
___
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general


[MarkLogic Dev General] Role based security in ml

2012-12-13 Thread manoj.viswanadha

Hi all,

I am using ml security and created few roles and users. My requirement is to 
restrict the http servers where corona is configured for specific users. I want 
specific users to access the corona search only and will have no other 
privilages.i have followed the steps mentioned in ml security pdf and created 
execute privilage and role and assiged that to user and in http admin 
configuration chaged the previlage and given security as digest. I have tried 
diffen                                                      
ent ways but unable to achieve above. Can anyone help me out to create a user 
who can have only acess to http sever and able to hit the corona search using 
restful webservices with out giving admin role.
Thanks, 
Manoj.
Sent from Samsung Galaxy Note___
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general


Re: [MarkLogic Dev General] CORB- Update: GC overhead limit exceeded

2012-12-13 Thread Michael Blakeley
That sounds like a java question. Try something like "-Xincgc -Xmx2048m", or 
"java -X" to see other options that might be available.

-- Mike

On 12 Dec 2012, at 23:52 , Abhishek53 S  wrote:

> 
> Hi All, 
> 
> I am getting "GC overhead limit exceeded" error while running CORB update. It 
> looks like once queue size exceeds 288, the process gets terminated. 
> 
> Is there any way to increase the size? 
> 
> Please advise! 
> 
> Thanks
> Abhishek Srivastav
> Tata Consultancy Services
> Cell:- +91-9883389968
> Mailto: abhishek5...@tcs.com
> Website: http://www.tcs.com
> 
> Experience certainty.IT Services
>Business Solutions
>Outsourcing
>  
> =-=-=
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain 
> confidential or privileged information. If you are 
> not the intended recipient, any dissemination, use, 
> review, distribution, printing or copying of the 
> information contained in this e-mail message 
> and/or attachments to it are strictly prohibited. If 
> you have received this communication in error, 
> please notify us by reply e-mail or telephone and 
> immediately and permanently delete the message 
> and any attachments. Thank you
> 
> 
> ___
> General mailing list
> General@developer.marklogic.com
> http://developer.marklogic.com/mailman/listinfo/general

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


Re: [MarkLogic Dev General] Disable keyboard shortcuts in query console

2012-12-13 Thread Michael Blakeley
I remember using a Swedish keyboard once. It seemed like half of the characters 
important to XQuery were behind the AltGr key, making them almost inaccessible. 
I understand some folks keep a UK or USA keyboard around, just for programming. 
I would.

http://upload.wikimedia.org/wikipedia/commons/thumb/e/e0/KB_Sweden.svg/800px-KB_Sweden.svg.png

Anyway it looks like MarkLogic/Apps/qconsole/static/js/qconsole-keybindings.js 
controls those shortcuts. You could probably comment out the contents of the 
bindings variable, or stub out the corresponding line in 
MarkLogic/Apps/qconsole/static/js/init.js

Of course you'd have to do it again after every server upgrade, but you could 
script that.

Out of curiosity, does cq have similar problems?

-- Mike

On 13 Dec 2012, at 03:22 , Erik Zander  wrote:

> All
>  
> I’m wondering if there’s any way to easily disable or reconfigure the 
> keyboard shortcuts in query console.
>  
> The reason I wondering is because I have a Swedish keyboard and all 
> characters placed under the altgr key results in a sudden change of query 
> window.
>  
> Regards
> Erik
> ___
> General mailing list
> General@developer.marklogic.com
> http://developer.marklogic.com/mailman/listinfo/general

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


Re: [MarkLogic Dev General] Application Builder

2012-12-13 Thread Charles Greer

Hi Sini,

I'm not sure I understand fully what you're looking for, because I'd 
also reach for a collection constraint.


Let's say you have a collection constraint and have named it "X" and it 
has prefix "/my/collections/"



  

  


Then if you include X:hotels in a search string, only documents from the 
"/my/collections/hotels" will be returned.  If you put a facets="false" 
attribute on the collection element



  

  


If you want this kind of filter on for all results, you'll want to make 
a cts:query and include it in an  element using 
"Custom XML Options":




 http://marklogic.com/cts";>
reports
analysis
  


Hope that helps,
Charles


On 12/13/2012 02:17 AM, sini narayanan wrote:

Hi All,

While building an application using App.Builder, how do I filter the
documents in my database based on a particular collection?
For example I have documents under three different collections (Hotel,
Restaurant, Hotel_Restaurant). I need to create an application which would
query only in the Hotel_Restaurant collection. How do I do this?
I tried the collection contraint. But this would create facets of different
collection that I have in the DB and then I'll have to filter collections
from the Application which I dont want.
Please help.

Thanks,
Sini



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



--
Charles Greer
Senior Engineer
MarkLogic Corporation
charles.gr...@marklogic.com
Phone: +1 707 408 3277
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.

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


[MarkLogic Dev General] Disable keyboard shortcuts in query console

2012-12-13 Thread Erik Zander
All

I'm wondering if there's any way to easily disable or reconfigure the keyboard 
shortcuts in query console.

The reason I wondering is because I have a Swedish keyboard and all characters 
placed under the altgr key results in a sudden change of query window.

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


[MarkLogic Dev General] Application Builder

2012-12-13 Thread sini narayanan
Hi All,

While building an application using App.Builder, how do I filter the
documents in my database based on a particular collection?
For example I have documents under three different collections (Hotel,
Restaurant, Hotel_Restaurant). I need to create an application which would
query only in the Hotel_Restaurant collection. How do I do this?
I tried the collection contraint. But this would create facets of different
collection that I have in the DB and then I'll have to filter collections
from the Application which I dont want.
Please help.

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


[MarkLogic Dev General] Reg Retrieving full document while performing search using Rest Services

2012-12-13 Thread Gnanaprakash.Bodireddy
Hi

I need some help in retrieving full document content while performing search 
using MarkLogic 6 Rest Services

I have configured my Rest Http server on 9000 port and I am trying to perform a 
word-query (term query) and want to get all resultant documents.

By using below query search is working but I also need the full document 
content in the result.

http://<>:9000/LATEST/search?structuredQuery={"query":{"term-query":{"text":["Journeys"]}}}&format=xml

Thanks in advance :)

Thanks and Regards,

Gnanaprakash Bodireddy
Sr Associate - Projects | IME
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