[MarkLogic Dev General] Optimizing XPath Equals Performance

2017-08-14 Thread Basavaraj Kalloli
Hi, We have been following up with our on going performance problems and we found that we are looking up a bunch of documents in Marklogic and then doing an XPath equals on each of them to find all the nodes that match a contributor, the query is: declare namespace npg=""; declare namespace

Re: [MarkLogic Dev General] Slow response from Marklogic HTTP Server

2017-08-02 Thread Basavaraj Kalloli
dly happened to me... > >Lastly, if you can catch the system in this condition, and it’s > responsive, check the monitoring dashboard on http://hostname:8002/ > dashboard/ to see if there a few very long running queries, or zillions > of the same ones clogging up the system. > >

[MarkLogic Dev General] Slow response from Marklogic HTTP Server

2017-08-01 Thread Basavaraj Kalloli
Hi All, We faced a strange issue today when the http server on Marklogic was responding really slowly. We use the check to determine whether the server is up and running. We have a HA proxy infront of marklogic which load balances requests to Marklogic. The check in HA proxy to verify if the

Re: [MarkLogic Dev General] Optimising XQuery Timeouts

2017-05-29 Thread Basavaraj Kalloli
> > > Erik Hennum > > > -- > *From:* general-boun...@developer.marklogic.com [ > general-boun...@developer.marklogic.com] on behalf of Basavaraj Kalloli [ > basavarajkall...@gmail.com] > *Sent:* Friday, May 26, 2017 4:13 AM > *To:* MarkLogic Developer Discussio

[MarkLogic Dev General] Optimising XQuery Timeouts

2017-05-26 Thread Basavaraj Kalloli
0 > > > > > #removed# > 1 > PT0.000921S > > > #removed# > 1 > PT0.000856S > > > > > The only thing that strikes me is that there are value cache misses, I dont know if I can do anything for it or anything else I could try. I am running out of ideas so it would be great if anyone can share some thoughts/pointers. Thanks, Basavaraj Kalloli ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general

[MarkLogic Dev General] Hierarchical proximity based weighting

2015-08-25 Thread Basavaraj Kalloli
Hi All, We have a requirement where we need to rank the search results based on a certain hierarchy, best explained by an example: *Object 1: * object item component texta/text component textb c/text /component /component

[MarkLogic Dev General] False positives with element-query

2015-07-24 Thread Basavaraj Kalloli
Hi, We have a requirement where we need to search for min and max values which should occur within an element For eg: SIZES SIZEDATA SIZE12000/SIZE SIZE_MIN12000/SIZE_MIN SIZE_MAX12000/SIZE_MAX /SIZEDATA SIZEDATA SIZE3500/SIZE SIZE_MIN3500/SIZE_MIN

Re: [MarkLogic Dev General] False positives with element-query

2015-07-24 Thread Basavaraj Kalloli
will yield the rows you want. Did you try turning on range value positions for your range indexes? Hoping that helps, Erik Hennum -- *From:* general-boun...@developer.marklogic.com [ general-boun...@developer.marklogic.com] on behalf of Basavaraj Kalloli

Re: [MarkLogic Dev General] False positives with element-query

2015-07-24 Thread Basavaraj Kalloli
[ general-boun...@developer.marklogic.com] on behalf of Basavaraj Kalloli [ basavarajkall...@gmail.com] *Sent:* Friday, July 24, 2015 8:13 AM *To:* MarkLogic Developer Discussion *Subject:* Re: [MarkLogic Dev General] False positives with element-query Hi Erik Yeap we did try the position

Re: [MarkLogic Dev General] Aggregate functions in search:search

2015-07-22 Thread Basavaraj Kalloli
...@developer.marklogic.com] *On Behalf Of *Basavaraj Kalloli *Sent:* Monday, July 20, 2015 5:23 PM *To:* MarkLogic Developer Discussion *Subject:* Re: [MarkLogic Dev General] Aggregate functions in search:search Hi Geert, Thanks for the response so we are back to using search:values. For eg: cts:and

[MarkLogic Dev General] Aggregate functions in search:search

2015-07-20 Thread Basavaraj Kalloli
We need to calculate max values of two nodes for a given search query. From MarkLogic documentation we could see that we could achieve this using values in the options node of search:search. Example below: We have 2 documents: document nameabc/name size12/size/document document

Re: [MarkLogic Dev General] Aggregate functions in search:search

2015-07-20 Thread Basavaraj Kalloli
useful in REST api.. Cheers, Geert From: general-boun...@developer.marklogic.com on behalf of Basavaraj Kalloli basavarajkall...@gmail.com Reply-To: MarkLogic Developer Discussion general@developer.marklogic.com Date: Monday, July 20, 2015 at 10:57 AM To: MarkLogic Developer Discussion

Re: [MarkLogic Dev General] mlcp copy database issue

2015-04-24 Thread Basavaraj Kalloli
Hi, We have resolved this by using the below command: this uses the new advanced XDBC server and setting the max split size to 2 because the server used to restart in-between because of large batch copy. *mlcp.sh copy -mode local -input_host source -input_port 8000 -input_database input_database

Re: [MarkLogic Dev General] Loading Skos triples using Rest

2015-02-16 Thread Basavaraj Kalloli
://www.facebook.com/HintTech [image: http://www.hinttech.com/signature/Linkedin_HintTech.png] http://www.linkedin.com/company/HintTech On 16 February 2015 at 16:40, Basavaraj Kalloli basavarajkall...@gmail.com wrote: Hi MarkLogic Devs, I want to load triples using the Rest endpoint as documented here

Re: [MarkLogic Dev General] Content pump issue with maven dependencies

2015-02-16 Thread Basavaraj Kalloli
with MarkLogic 8 and this issue still persists. AFAIK this should be a simple hadoop version fix in the pom. Cheers, Basu On Mon, Feb 16, 2015 at 4:31 PM, Basavaraj Kalloli basavarajkall...@gmail.com wrote: Hey All, Anyone has any updates/comments on this? We are stuck with committing all of the jars

Re: [MarkLogic Dev General] Loading Skos triples using Rest

2015-02-16 Thread Basavaraj Kalloli
formats? You haven’t posted an example so I don’t know. Cheers, Tony. *From:* general-boun...@developer.marklogic.com [mailto: general-boun...@developer.marklogic.com] *On Behalf Of *Basavaraj Kalloli *Sent:* 16 February 2015 16:02 *To:* MarkLogic Developer Discussion *Subject:* Re

Re: [MarkLogic Dev General] Content pump issue with maven dependencies

2015-02-16 Thread Basavaraj Kalloli
/ https://repository.cloudera.com/artifactory/public/* this solves the problem. We looked into the pom.xml for mlcp and found that the repo url. Cheers, Basu On Mon, Feb 16, 2015 at 9:50 PM, Basavaraj Kalloli basavarajkall...@gmail.com wrote: Hi MarkLogic Devs, Anything on this will really

[MarkLogic Dev General] Loading Skos triples using Rest

2015-02-16 Thread Basavaraj Kalloli
Hi MarkLogic Devs, I want to load triples using the Rest endpoint as documented here: http://docs.marklogic.com/guide/semantics/loading#id_97293 But I have a Skos format and I dont see a way to set the MimeType to Skos for it to be loaded. Any ideas how to get this to work? The simplest thing

Re: [MarkLogic Dev General] Content pump issue with maven dependencies

2015-02-16 Thread Basavaraj Kalloli
Hey All, Anyone has any updates/comments on this? We are stuck with committing all of the jars in our code for now. On Mon, Feb 2, 2015 at 3:56 PM, Basavaraj Kalloli basavarajkall...@gmail.com wrote: Hi, We are trying to use mlcp (content pump) via the maven dependencies. We are using

[MarkLogic Dev General] Content pump issue with maven dependencies

2015-02-02 Thread Basavaraj Kalloli
Hi, We are trying to use mlcp (content pump) via the maven dependencies. We are using it in a Scala app with ivy dependencies as below: com.marklogic % mlcp-Hadoop1 % 1.1-1 using the repo: http://developer.marklogic.com/maven2 we get the below issues using either of the versions as below: