[MarkLogic Dev General] Failed over Security Database

2014-03-17 Thread Abhishek53 S
Hi, I am trying rename and add forest-failover to the default Security database and getting exception Invalid input: Failover is not allowed for private forest: Security Please advise Abhishek Srivastav Tata Consultancy Services Mailto: abhishek5...@tcs.com Website: http://www.tcs.com

[MarkLogic Dev General] Issue with Backup Restore

2014-01-16 Thread Abhishek53 S
Hi All, I am having issue with doing backup and restore operation with databases in the same cluster . I backed up Master database (Master-forest) Schema and Security, While restoring to Replica database (Replica-forest) I can only see the Master-forest but in disabled state. Please

Re: [MarkLogic Dev General] MarkLogic Cross Cluster Data Replication

2014-01-07 Thread Abhishek53 S
://docs.marklogic.com/guide/xcc/concepts#id_57048 -- Mike On 6 Jan 2014, at 13:08 , Abhishek53 S abhishek5...@tcs.com wrote: Hi All, We have requirement to replicate data across multiple clusters. Cluster1 is running on CentOS and Cluster2 is running over Linux. I am thinking some possible

[MarkLogic Dev General] MarkLogic Cross Cluster Data Replication

2014-01-06 Thread Abhishek53 S
Hi All, We have requirement to replicate data across multiple clusters. Cluster1 is running on CentOS and Cluster2 is running over Linux. I am thinking some possible ways to address this. Solution 1)     Description: XA Transaction: Replicate data from service layer to multiple databases

[MarkLogic Dev General] Proximity Search: Behavior with similar terms

2013-11-20 Thread Abhishek53 S
Hi All, Please let me know if there is any workaround for below scenario Current MarkLogic Behavior:  Below query returning documents where the word #8220;stop#8221;[only one occurrence] is present in the document cts:search(     fn:doc(),     cts:near-query(  

[MarkLogic Dev General] Proximity Search Algorithm

2013-10-11 Thread Abhishek53 S
Hi All, I am doing behavior analysis for proximity search criteria between MarkLogic and Oracle Text, Can someone help me understanding which algorithm we are using in MarkLogic behind proximity search solution. If possible, is it standard for all other search engines? Thanks Abhishek

[MarkLogic Dev General] XPATH - Hacking

2013-09-17 Thread Abhishek53 S
Hi All, Need some tricks on XPATH evaluation. I need distinct id with minimum create-data-time value. Input items   item id=201100649049 create-date-time=2013-08-27T15:43:33/   item id=201100649049 create-date-time=2013-08-28T07:35:40/   item id=201100649040

[MarkLogic Dev General] Performance degradation sequence intersection

2013-07-17 Thread Abhishek53 S
Hi All, I am getting significant permance degradation in creating intersection between two big sequences. I am using following code for sequence intersecation let $sequence := cts:element-values(xs:QName(item1)) (:returns 3000 items:) let $sub-sequence := cts:element-values(xs:QName(item2))

[MarkLogic Dev General] Date Time value with timezone in Index

2013-05-29 Thread Abhishek53 S
Hi All, Somehow our content has timezone information is present inside the datetime field of content. Document1 date2013-05-29T09:55:05-04:00/date Document2 date2013-05-29T09:55:05-05:00/date While verifying the element values over date element I found that -05:00 timezone values are

[MarkLogic Dev General] Sorting on aggregation in ML4.2-7

2013-05-23 Thread Abhishek53 S
Hi All, I need to do some sorting over summation value of one field in MarkLogic 4.2-7. Below is the way our content is organized and the sorting is required over sum of all value tag over 1.5 million document Please advise!!! content idC1/id metadata countryUSA/country value200/value

Re: [MarkLogic Dev General] Sorting on aggregation in ML4.2-7

2013-05-23 Thread Abhishek53 S
...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Abhishek53 S Sent: Thursday, May 23, 2013 10:54 AM To: MarkLogic Developer Discussion Subject: [MarkLogic Dev General] Sorting on aggregation in ML4.2-7 Importance: High Hi All, I need to do some sorting

[MarkLogic Dev General] MarkLogic Informatica ODBC Connectivity

2013-04-23 Thread Abhishek53 S
Hi All, What ODBC driver required to be installed(Unix Box) to communicate MarkLogic with Inforamtica over ODBC server. Please advise!!! Thanks -Abhishek =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or

[MarkLogic Dev General] Spell Correction Algorithm

2013-03-19 Thread Abhishek53 S
Hi Folks, What algorithm is used by MarkLogic in matching the similar soundex word during spell correction. Please let me know Thanks Abhishek Srivastav Tata Consultancy Services Cell:- 609-865-1885 Mailto: abhishek5...@tcs.com Website: http://www.tcs.com

Re: [MarkLogic Dev General] Amazon multiversion support

2013-03-08 Thread Abhishek53 S
. - David Lee Lead Engineer MarkLogic Corporation d...@marklogic.com Phone: +1 812-482-5224 Cell: +1 812-630-7622 www.marklogic.com From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Abhishek53 S Sent

[MarkLogic Dev General] Amazon multiversion support

2013-03-07 Thread Abhishek53 S
Hi Folks, I have multiple cloud instances running on Amazon AMI. Can it be possible to support multiple versions of Marklogic Server running on two different instances, means v5.x on one instance and v6.x on different. Thanks Abhishek Srivastav Tata Consultancy Services Cell:- +91-9883389968

[MarkLogic Dev General] List of Unique Nodes

2013-03-06 Thread Abhishek53 S
Hi Folks, Can someone please help me in getting list of unique nodes from below XML tests test id1/id descxx/desc /test test id2/id descyy/desc /test test id1/id descxx/desc /test /tests I need the output like tests test id1/id descxx/desc /test test id2/id descyy/desc /test /tests Thanks

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

2012-12-14 Thread Abhishek53 S
exceeded Sent by: general-boun...@developer.marklogic.com 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 abhishek5...@tcs.com wrote: Hi All, I am getting GC

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

2012-12-12 Thread Abhishek53 S
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

Re: [MarkLogic Dev General] XQYSP and parenthesis precedence

2012-12-10 Thread Abhishek53 S
/field /expression literaldelta/literal /expression literalfubar/literal /expression /root -- Mike On 9 Dec 2012, at 09:41 , Abhishek53 S abhishek5...@tcs.com wrote: Hi All, As per my understanding XQYSP completely ignores parenthesis [Applying precedence to query

[MarkLogic Dev General] XQYSP and parenthesis precedence

2012-12-09 Thread Abhishek53 S
Hi All, As per my understanding XQYSP completely ignores parenthesis [Applying precedence to query] so all the query will be parsed from left to right precedence. Do we have any suggestion on how/where to change query to consider parenthesis as precedence. Thanks in advance!!! Abhishek

[MarkLogic Dev General] Marklogic JMS Listener

2012-12-05 Thread Abhishek53 S
HI Al, Do we have any in-built tool over Marklogic to listen JMS queue. The use case is to pull the message [using some Marklogic listener utility] from the queue as soon it is published. Thanks Much! Regards Abhishek Srivastav I T Analyst Tata Consultancy Services Cell:- +91-9883389968

Re: [MarkLogic Dev General] Marklogic JMS Listener

2012-12-05 Thread Abhishek53 S
PM Subject: Re: [MarkLogic Dev General] Marklogic JMS Listener Sent by: general-boun...@developer.marklogic.com No, but you can write a small Java program that listens to JMS and pushes the document into MarkLogic. -jh- On Dec 5, 2012, at 11:27 PM, Abhishek53 S wrote: HI Al, Do we have

Re: [MarkLogic Dev General] Task Server Monitoring - Unix Shell Script

2012-11-22 Thread Abhishek53 S
, but if that's impossible, you could create an app server with an endpoint that returns xdmp:server-status(). Erik Hennum From: general-boun...@developer.marklogic.com [general-boun...@developer.marklogic.com] On Behalf Of Abhishek53 S [abhishek5

[MarkLogic Dev General] Task Server Monitoring - Unix Shell Script

2012-11-21 Thread Abhishek53 S
Hi All, Is there any way (Shell Script) to monitor Marklogic Task Server Queue size at unix command level? I need to automate the task server queue monitoring . Please Suggest!!! Thanks Abhishek Srivastav Tata Consultancy Services Cell:- +91-9883389968 Mailto: abhishek5...@tcs.com Website:

[MarkLogic Dev General] Semantic Analysis Using XQuery

2012-11-21 Thread Abhishek53 S
Hi All, As per my understanding semantic analysis of content is only possible using third party enrichment engine like TEMIS LUXID (already have inbuilt pipeline in Marklogic) Can we built some xQuery based capabily [Any existing API/Research Paper/Algorithm] to provide same functionality

Re: [MarkLogic Dev General] Task Server Monitoring - Unix Shell Script

2012-11-21 Thread Abhishek53 S
be supported, so task server as well.. Or perhaps David has some interesting built-in feature in xmlsh that might be useful? Kind regards, Geert Van: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] Namens Abhishek53 S Verzonden: woensdag 21 november

Re: [MarkLogic Dev General] Task Server Monitoring - Unix Shell Script

2012-11-21 Thread Abhishek53 S
the format URI parameter to control whether the response is XML, JSON, or HTML. Hoping that's useful, Erik Hennum From: general-boun...@developer.marklogic.com [general-boun...@developer.marklogic.com] On Behalf Of Abhishek53 S [abhishek5...@tcs.com] Sent

[MarkLogic Dev General] XQYP: Issue with NEAR parsing

2012-10-27 Thread Abhishek53 S
Hi All, We are using XQYSP for search term parsing [Really extraordinary concept] inside our solution. We want to use comma whitespace (current scenario it's only whitespace) both as tokenizer for creating literals node for proximity search but not for other clauses. Eg. Search Term: NEAR

Re: [MarkLogic Dev General] Performance Overhead - cts:sum

2012-10-25 Thread Abhishek53 S
/aggregateUDFs -- Mike On 23 Oct 2012, at 22:20 , Abhishek53 S abhishek5...@tcs.com wrote: Hi All, I am having performance penalty (Average time 23-30 Sec for the first time and less than 1 sec for next onward hit[which is accecpted]) with cts:sum over one of the element stores valuation

Re: [MarkLogic Dev General] Performance Overhead - cts:sum

2012-10-24 Thread Abhishek53 S
of all those projects at once. But perhaps you just want separate sums. In that case: do you need 500 at once? Pagination might help.. Kind regards, Geert Van: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] Namens Abhishek53 S Verzonden: woensdag 24 oktober

[MarkLogic Dev General] Marklogic 6: Issue in setting instance of marklogic rest API

2012-10-24 Thread Abhishek53 S
Hi All, I am trying to create new instance of Marklogic (v6) Rest API using following URLhttp://host:8002/v1/rest-apis and getting following response, rapi:rest-apis/ I am using chrome advance Rest client to POST request to Marklogic, but not sure how to mention different parameter and

[MarkLogic Dev General] Performance Overhead - cts:sum

2012-10-23 Thread Abhishek53 S
Hi All, I am having performance penalty (Average time 23-30 Sec for the first time and less than 1 sec for next onward hit[which is accecpted]) with cts:sum over one of the element stores valuation information --- for $id

Re: [MarkLogic Dev General] Composite Sorting: Search functions

2012-10-16 Thread Abhishek53 S
://docs.marklogic.com/search:search#opt-sort-order On Mon, Oct 15, 2012 at 2:25 PM, Abhishek53 S abhishek5...@tcs.com wrote: Hi All, Is it possible to support composite sorting using search:search/search:resolve build in functions. For instance lets assume sort by country first followed

[MarkLogic Dev General] Composite Sorting: Search functions

2012-10-15 Thread Abhishek53 S
Hi All, Is it possible to support composite sorting using search:search/search:resolve build in functions. For instance lets assume sort by country first followed by state county. Thanks Abhishek Srivastav Systems Engineer Tata Consultancy Services Cell:- +91-9883389968 Mailto:

[MarkLogic Dev General] Issue in Starting ML6 server in cloud amazon Linux instance

2012-09-26 Thread Abhishek53 S
Hi All, I have issue in starting Marklogic 6 Server after this is installed (first time) to the Cloud amazon Linux instance. Its not throwing any exception but not getting started. Please advice! Abhishek Srivastav Systems Engineer Tata Consultancy Services Cell:- +91-9883389968 Mailto:

[MarkLogic Dev General] XQYSP and Search options

2012-09-03 Thread Abhishek53 S
Hi, Just now we have started using XQYSP to parse search term string due to its enough flexibility with search grammar support. Can any one help me in understanding how to pass search term option during parsing (As supported by second params in search:parse) using this utility like stemmed,

[MarkLogic Dev General] Issue with Search Snippet max matched options

2012-09-03 Thread Abhishek53 S
Hello All, I am not sure what's wrong with search:snippet I am using max-matches as 7 though it is returning at max 4 matching snippets... Let me know in case I am missing something ML 4.2-7 ML 5.0-3 Code ** xquery version 1.0-ml; import module namespace search =

Re: [MarkLogic Dev General] Issue with dls:document version delete

2012-08-29 Thread Abhishek53 S
...@developer.marklogic.com] On Behalf Of Abhishek53 S [abhishek5...@tcs.com] Sent: Tuesday, August 28, 2012 11:17 AM To: MarkLogic Developer Discussion Cc: Saptarshi Das; Pawan Saha Subject: [MarkLogic Dev General] Issue with dls:document version delete Hi All, We are having issue with dls:document

[MarkLogic Dev General] Scoring and Point-in-time: logtfidf

2012-08-29 Thread Abhishek53 S
Hi All I would like to know more about the impact of different versions of documents (through point-in-time query) - on default algorithm for search (logtfidf). I learnt that increasing number of fragments (multiple versions of same documents) has impact through document frequency parameter.

[MarkLogic Dev General] Range Indexing issue

2012-08-28 Thread Abhishek53 S
Hi All I have some issue with range index in ML 4.2-7 version. The database.xml in Marklogic installed directory is showing string range index on metadata tag with toot collation where as using element values on this tag is throwing exception. XDMP-ELEMRIDXNOTFOUND:

[MarkLogic Dev General] Issue with dls:document version delete

2012-08-28 Thread Abhishek53 S
Hi All, We are having issue with dls:document-version-delete API. Once the latest version of the document is deleted, we are not able to create next version using dls:document-checkout-update-checkin. Here is the sequence of steps performed over xlsx (binary content) Step 1: let $content :=

Re: [MarkLogic Dev General] How to balance forest sizes when adding new cluster member

2012-08-21 Thread Abhishek53 S
Hi Danny, You can use corb rebalancer utility to even distribute your content across multiple forests. The process will distribute average number of documents across multiple forests. https://github.com/mblakele/corb-rebalancer Thanks Abhishek Srivastav Systems Engineer Tata Consultancy

[MarkLogic Dev General] Data Extraction From Older Forest Data directory

2012-07-31 Thread Abhishek53 S
Hi All, The data directory for sample-forest01 is configured as C:/data. I copied the entire forest data directory and move it to different system. I want to create different forest sample-forest02 and with the data available in the data directory for sample-forest01. Is their any way to

[MarkLogic Dev General] Custom Grammar Option

2012-07-09 Thread Abhishek53 S
Hi All, Is it possible to create the custom definition of starter for search grammar? I need to create both ordered/unordered type of near query directly from Query text. As per my understanding default query created through search:parse API is unordered. Is is possible to create custom query

[MarkLogic Dev General] File Extraction from Zip using XCC java API

2012-07-06 Thread Abhishek53 S
Hi Folks, We are returning zip file (Image file + metadata XML) from Marklogic using zip-create method. We are receiving the ML output into java ResutSequence Object. Is it possible to extract files from ResultSequence object and write it into file system. Please let me know if some way to

Re: [MarkLogic Dev General] UTF -8 Encoding Exception

2012-06-26 Thread Abhishek53 S
? There are also some format option that might interest you. http://community.marklogic.com/pubs/5.0/apidocs/Ext-5.html#xdmp:unquote Kind regards, Geert Van: general-boun...@developer.marklogic.com [mailto: general-boun...@developer.marklogic.com] Namens Abhishek53 S Verzonden: maandag 25 juni 2012

Re: [MarkLogic Dev General] Entity Enrichment

2012-06-26 Thread Abhishek53 S
Hi Gnanaprakash Navigate to ConfigureDatabasesYour DatabaseContent Processing - Entity Enrichment - Check if this present. If not first try to install the CPF package to your database. I think 9.0 Marking Up Documents With Entity Enrichment section of search developer guide will help you.

[MarkLogic Dev General] UTF -8 Encoding Exception

2012-06-25 Thread Abhishek53 S
Hi Folks, I am having issue in downloading non UTF 8 encoded text file from file server. I am using http-get method to download text files and then updating the text inside XML documents. How to convert non UTF 8 to UTF 8 encoded? Sample Code xdmp:http-get(file-location.txt, options

Re: [MarkLogic Dev General] how to resolve the cache full problem?

2012-06-05 Thread Abhishek53 S
Hi Sunny, I got the following answer for the same issue The expanded tree cache is used to store XML fragments while they are being used during query processing. XML documents are compressed and stored on disk as fragments. As fragments are needed during query evaluation, they are retrieved

[MarkLogic Dev General] Term with same stem

2012-05-11 Thread Abhishek53 S
Hi Folks,Is it possible to get the all terms that have same stem from Marklogic database? I want to get all terms that belongs to the same stem.Thanks RegardsAbhishek SrivastavSystems EngineerTata Consultancy ServicesCell:- +91-9883389968Mailto: abhishek5...@tcs.comWebsite:

[MarkLogic Dev General] issue with words separated by punctuations.

2012-04-12 Thread Abhishek53 S
Hi Folks, I am not confident if the requirement is possible through any configuration change in Marklogic. I have content with values companywal-mart/company. There are thousand of values with hypen(-) separated. I want to get those documents back when user is searching with walmart i.e term

Re: [MarkLogic Dev General] issue with words separated by punctuations.

2012-04-12 Thread Abhishek53 S
: MarkLogic Developer Discussion general@developer.marklogic.comFrom: Michael Blakeley m...@blakeley.comSent by: general-boun...@developer.marklogic.comDate: 04/12/2012 10:47PMSubject: Re: [MarkLogic Dev General] issue with words separated by punctuations.Why does a large number of words preclude thesaurus expansion?-- M

[MarkLogic Dev General] Server field value different across nodes in the cluster

2012-02-08 Thread Abhishek53 S
Hi Folks, I have 4 nodes [All mixed DNode+ENode] across cluster. I am using server fields to store a map that consists of user-id and registered query-id mapping. When I am trying to get server field value by pointing one node of the cluster it is returning different registered query id than

[MarkLogic Dev General] MarkLogic Documentum Integration

2012-02-07 Thread Abhishek53 S
Hi Folks,I found that FLATIRONS SOLUTIONS CORPORATION is providing some connector between MarkLogic Documentum. Is it an open source or licensed version?Let me know if we have any alternative connector between two repositories.Thanks-Abhishek=-=-= Notice: The information

[MarkLogic Dev General] element-query with punctuation insensitive and punctuation marks as cts:text

2012-02-01 Thread Abhishek53 S
Hi Folks, I am not sure if I am wrong somewhere while explaining this issue of punctuation-insensitive search with punctuation marks as cts:text (element-query). While executing the below query I am not getting any count back because punctuation mark is not ignored during search (even if

Re: [MarkLogic Dev General] element-query with punctuation insensitive and punctuation marks as cts:text

2012-02-01 Thread Abhishek53 S
pass in there) Kind regards, Geert Van: general-boun...@developer.marklogic.com [mailto: general-boun...@developer.marklogic.com] Namens Abhishek53 S Verzonden: woensdag 1 februari 2012 10:30 Aan: General MarkLogic Developer Discussion Onderwerp: [MarkLogic Dev General] element-query

Re: [MarkLogic Dev General] element-query with punctuation insensitive and punctuation marks as cts:text

2012-02-01 Thread Abhishek53 S
Solutions Outsourcing From: Abhishek53 S abhishek5...@tcs.com To: General MarkLogic Developer Discussion general@developer.marklogic.com Date: 02/01/2012 04:17 PM Subject: Re: [MarkLogic Dev General] element-query with punctuation

[MarkLogic Dev General] Marklogic 5.0 and Hadoop Combination

2012-01-30 Thread Abhishek53 S
Hi Folks,I found that MarkLogic 5.0 is compatible for communicating with Hadoop [Ref:mapReduce.pdf]. What additional use cases can be achieved with this combination?I am familiar with MarkLogic but less with Hadoop.Please let me know additional use cases that has somebenefits for this combination

[MarkLogic Dev General] Impact of not-query on default Scoring Algorithm

2012-01-29 Thread Abhishek53 S
Hi Folks,How cts:not-query has impact on the relevancy model during search?In my search query I am using the default relevancy model [log(tf)*idf].Please let me know the impact on score calculation if following queries will be executed .1. cts:word-query("test")2. cts:and-query((

[MarkLogic Dev General] Issue in cts:element-values with multiple Qname

2011-12-07 Thread Abhishek53 S
Hi Folks, I am having some issue with fragments frequency when I am using multiple Qname in the element-attribute-values query I put some sample query below for $value in cts:element-attribute-values( (xs:QName(element1),xs:QName(element2)),

[MarkLogic Dev General] POST value to named variable

2011-11-13 Thread Abhishek53 S
Hi FolksIs it possible to post value to a given xquery modules using http-post method in named variable.For eg.Xquery module/test.xqylet $x :=xdmp:get-request-field("a")return$xFrom another xquery I want to post the value to test.xqy in the named variable

[MarkLogic Dev General] Read only access to Admin interface.....

2011-09-08 Thread Abhishek53 S
Hi Folks I am trying to have read only access to admin console (8001) of ML server...User with this role can logged in to Admin interface to monitor the activity but can not modify any other configurations... The following execute privileges are provided to the custom read-only-admin role

Re: [MarkLogic Dev General] Read only access to Admin interface.....

2011-09-08 Thread Abhishek53 S
Abhishek53 S Verzonden: donderdag 8 september 2011 13:57 Aan: General MarkLogic Developer Discussion Onderwerp: [MarkLogic Dev General] Read only access to Admin interface. Hi Folks I am trying to have read only access to admin console (8001) of ML server...User with this role can logged

Re: [MarkLogic Dev General] Read only access to Admin interface.....

2011-09-08 Thread Abhishek53 S
if ($unquote/*) then local:fix-links($unquote) else $response Kind regards, Geert Van: general-boun...@developer.marklogic.com [ mailto:general-boun...@developer.marklogic.com] Namens Abhishek53 S Verzonden: donderdag 8

[MarkLogic Dev General] Default collation issue with custom faceting

2011-09-07 Thread Abhishek53 S
Hi Folks, I noticed some strange behavior (might be issue with my custom facet query)The default collation which is specified to ML HTTP server is overlooked by custom facet query. In my case default collation is set to root collation.It looks fine when I am using value lexicon query any

[MarkLogic Dev General] Funx library

2011-09-05 Thread Abhishek53 S
Hi Folks If I required to re-use any component from funx library ( http://www.xqueryfunctions.com/) I copy the function into my custom library module and the import it into my main module to use. Walking through the installed directory of Marklogic I got the funx library itself is present

Re: [MarkLogic Dev General] Reg: Diacritic-insensitive lexicons

2011-09-05 Thread Abhishek53 S
Ambika Collation is used to define the sort-order for value lexicons (used for name element). I cross checked your query. Ingesting two sample xmls into ML. The query works fine and returning proper frequency and search result..Checking your query its expected that your use-case is to return

Re: [MarkLogic Dev General] Issue with element-attribute-value with query

2011-09-01 Thread Abhishek53 S
...@developer.marklogic.com [ mailto:general-boun...@developer.marklogic.com] On Behalf Of Abhishek53 S Sent: Tuesday, August 30, 2011 8:17 AM To: General MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] Issue with element-attribute-value with query Gajanan Yes it is returning

[MarkLogic Dev General] Issue with element-attribute-value with query

2011-08-30 Thread Abhishek53 S
Hi Folks I am having some issue with getting element-attribute values with some additional query into the query option. The query below is returning 0 records -- which is fine cts:search(fn:doc(), cts:and-query(( cts:element-query(xs:QName(as-project-spec),

Re: [MarkLogic Dev General] Issue with element-attribute-value with query

2011-08-30 Thread Abhishek53 S
-boun...@developer.marklogic.com [ mailto:general-boun...@developer.marklogic.com] On Behalf Of Abhishek53 S Sent: Tuesday, August 30, 2011 7:52 AM To: General MarkLogic Developer Discussion Subject: [MarkLogic Dev General] Issue with element-attribute-value with query Hi Folks I am having some

[MarkLogic Dev General] Facet formation is not AND-ing searhable-expression

2011-08-27 Thread Abhishek53 S
Hi Folks Facet formation is not AND-ing the searchable-exprestion options...I checkout some older post (link below) and believe that ML 4.2 can support fragment-frequency option to return facet count based on anding searchable-expression path...Not sure if I misunderstood fragment-frequency

Re: [MarkLogic Dev General] getting count

2011-08-26 Thread Abhishek53 S
Hi Mihir I guess xdmp:estimate will solve your problem. Abhishek Srivastav Tata Consultancy Services Mailto: abhishek5...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions

Re: [MarkLogic Dev General] Suggestion Required On Search API

2011-08-25 Thread Abhishek53 S
Hi Nikhil There is nothing wrong in setting higher page size than the number of records into database. But requesting a larger number of results (which now in this case stands to 100k if it is available ) in a single request might cause request time out error. Kind Regards Abhishek Srivastav

Re: [MarkLogic Dev General] Query on ML search

2011-08-22 Thread Abhishek53 S
Isha Can you please put the options and query you are using for saerch? Thanks Abhishek Srivastav Tata Consultancy Services Cell:- +91-9883389968 Mailto: abhishek5...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services

Re: [MarkLogic Dev General] Query on ML search

2011-08-22 Thread Abhishek53 S
Isha I don't know If I property understood your question. If it is something like creating constraint with multiple attributes, then default constraint definition with more than one pair of element attribute is not possible. You need to create the custom constraint and the parse function of

[MarkLogic Dev General] Sort by issue over element with same name

2011-08-22 Thread Abhishek53 S
Hi Folks I am using search:search API to get the result from ML.I want to sort the result based on the element title whose parent element does not have any index attribute i.e. sorting over first title element in the sample xml. This seems to be impossible to me as the range indexing is

Re: [MarkLogic Dev General] How to query a attribute of a generic node...

2011-08-19 Thread Abhishek53 S
Hi KeithI guess the below givent query will help you .xquery version "1.0-ml";import module namespace search = "http://marklogic.com/appservices/search" at "/MarkLogic/appservices/search/search.xqy";search:search("kolkata", options xmlns="http://marklogic.com/appservices/search"

[MarkLogic Dev General] Get uris for element does not exists

2011-08-16 Thread Abhishek53 S
Hi Folks I need to find out the URIs which is matching the following criteria. 1. The value of date-field1 is greater than sysdate - 30 AND 2. The element date-field2 does not exists I can write the query for date-field2 exists. which is more or less

Re: [MarkLogic Dev General] Get uris for element does not exists

2011-08-16 Thread Abhishek53 S
uris for element does not exists Sent by: general-boun...@developer.marklogic.com Hi Abhishek, try this cts:not-query(cts:element-value-query(xs:QName(date-field2),'*',wildcarded)) - Deekshant On Tue, Aug 16, 2011 at 10:32 PM, Abhishek53 S abhishek5...@tcs.com wrote: Hi Folks I need

[MarkLogic Dev General] search:suggest issue

2011-08-03 Thread Abhishek53 S
Hi Folks search:suggest over field word lexicons is not returning any suggestion. I keep the sample query for reference. xquery version 1.0-ml; import module namespace search = http://marklogic.com/appservices/search; at /MarkLogic/appservices/search/search.xqy; let $options :=

Re: [MarkLogic Dev General] search:suggest issue

2011-08-03 Thread Abhishek53 S
__________From: general-boun...@developer.marklogic.com [general-boun...@developer.marklogic.com] On Behalf Of Abhishek53 S [abhishek5...@tcs.com]Sent: Wednesday, August 03, 2011 8:54 AMTo: General MarkLogic Developer DiscussionSubject: [MarkLogic Dev General] sear

[MarkLogic Dev General] Marklogic Integration with Tableau

2011-08-01 Thread Abhishek53 S
Hi Folks I need to integrate Marklogic with Tableau (Reporting tool). Can someone provide any reference for this. Thanks in advance ! Abhishek Srivastav Tata Consultancy Services Cell:- +91-9883389968 Mailto: abhishek5...@tcs.com Website: http://www.tcs.com

Re: [MarkLogic Dev General] How to access an xquery page without providing user credentials

2011-07-19 Thread Abhishek53 S
Hi ManojYou can set the authentication to application level and default user as admin. For the successive request server will not ask for user name and password.StepsLogin to admin consoleGroupDefaultAPPS server HTTP ServerScroll down to setauthentication : application-level and default user :

Re: [MarkLogic Dev General] Search using 100k terms

2011-07-19 Thread Abhishek53 S
Hi Vijay Parse the string query using search:parse and then pass it to the additional-query option of search:search OR search:resolve API. Additionally Can you check the page-size of returned result? Regards Abhishek Srivastav Tata Consultancy Services Cell:- +91-9883389968 Mailto:

[MarkLogic Dev General] Read only access to non admin user

2011-07-18 Thread Abhishek53 S
Hi Folks I ingested some documents with admin role into Marklogic repository. After Ingestion I created the new user with non admin privilege. Over CQ it is returning 0 documents if I access through new user (non admin privilege). Can a document created by admin user will not be acceesible as

Re: [MarkLogic Dev General] Read only access to non admin user

2011-07-18 Thread Abhishek53 S
@dev eloper.marklogic.com] Namens Abhishek53 S Verzonden: maandag 18 juli 2011 17:49 Aan: General MarkLogic Developer Discussion Onderwerp: [MarkLogic Dev General] Read only access to non admin user Hi Folks I ingested some documents with admin role into Marklogic repository. After Ingestion I

Re: [MarkLogic Dev General] creating indexes by getting it from from a remote db

2011-07-14 Thread Abhishek53 S
Rojan The range element indexes configuration XML you are getting from one database will act as the infut XML for the other. I guess following sample query will help you for loading the range indexes into other Marklogic DB. import module namespace admin = http://marklogic.com/xdmp/admin;

Re: [MarkLogic Dev General] Async behavior of HTTP request

2011-07-14 Thread Abhishek53 S
...@developer.marklogic.com] On Behalf Of Abhishek53 S Sent: Wednesday, July 13, 2011 12:36 PM To: General MarkLogic Developer Discussion Subject: [MarkLogic Dev General] Async behavior of HTTP request Hi Folks, As per my understanding of HTTP request through Marklogic HTTP APIs is that they are asynchronous

Re: [MarkLogic Dev General] Async behavior of HTTP request

2011-07-14 Thread Abhishek53 S
of these techniques internally. -jh- On Jul 14, 2011, at 12:44 AM, Abhishek53 S wrote: Danny Thanks for reply . Referring the link ( http://www.marklogicevents.com/file/presentations/Effective_XQuery_in_MarkLogic_Heitkamp_Koul.pdf ) where on slide 36 it is mentioned that HTTP interfaces

Re: [MarkLogic Dev General] Async behavior of HTTP request

2011-07-14 Thread Abhishek53 S
the query to use the output of the http-get. If so, then you have to wait for it to complete in order to complete the x-action. -Danny From: general-boun...@developer.marklogic.com [ mailto:general-boun...@developer.marklogic.com] On Behalf Of Abhishek53 S Sent: Thursday, July 14, 2011 12:45 AM

[MarkLogic Dev General] Async behavior of HTTP request

2011-07-13 Thread Abhishek53 S
Hi Folks,As per my understanding of HTTP request through Marklogic HTTP APIs is that they are asynchronous by nature.Between the HTTP service requests the behavior is asynchronous.Is the calling module executeasynchronously with invoked HTTP requests ie sample querylet $x :=

[MarkLogic Dev General] Autosuggest implementaion

2011-07-07 Thread Abhishek53 S
Hi Folks This thread is related to the effective auto-suggest implementation. If the source of auto-suggest is very large dataset (Not over few defined elements) the word lexicons are preferred (Either word or field) over value lexicons. It is something contradictory to what is suggested over

[MarkLogic Dev General] Forest is getting out of disc space

2011-06-30 Thread Abhishek53 S
Hi Folks I ingested more than 4 contents into marklogic. Marklogic server is configured with 3 forest. Now the on disc stands merging (ML background process) is giving out of disc space error for one of the forest . I have a fear to loose my content present into the forest . Let me know

Re: [MarkLogic Dev General] Forest is getting out of disc space

2011-06-30 Thread Abhishek53 S
...@developer.marklogic.com] Namens Abhishek53 S Verzonden: donderdag 30 juni 2011 9:20 Aan: General MarkLogic Developer Discussion Onderwerp: [MarkLogic Dev General] Forest is getting out of disc space Hi Folks I ingested more than 4 contents into marklogic. Marklogic server is configured with 3 forest

[MarkLogic Dev General] Sort base on propert and search into actual content

2011-06-30 Thread Abhishek53 S
Hi Folks Can anyone please suggest how to sort based on property of the content (prop:last-modified-date ). My scenario is to perform the keyword search over actual content and sort over some property (prop:last-modified-date ). Your suggestion is highly appreciated. Thanks in advance !

Re: [MarkLogic Dev General] Sort base on property and search into actual content

2011-06-30 Thread Abhishek53 S
. IT Services Business Solutions Outsourcing From: Abhishek53 S/TVM/TCS To: General MarkLogic Developer Discussion general@developer.marklogic.com Date: 06/30/2011 07:56 PM Subject: Sort base on propert

Re: [MarkLogic Dev General] Forest is getting out of disc space

2011-06-30 Thread Abhishek53 S
. But you can always make a copy of it first to some other location. Kind regards, Geert Van: general-boun...@developer.marklogic.com [ mailto:general-boun...@developer.marklogic.com] Namens Abhishek53 S Verzonden: donderdag 30 juni 2011 9:20 Aan: General MarkLogic Developer Discussion Onderwerp

[MarkLogic Dev General] xdmp:trace and xdmp:log

2011-06-29 Thread Abhishek53 S
Hi Folks Now this question is more theoretical. xdmap:trace and xdmp:log both are used to log information into ErrorText.txt file. The point of confusion is related to the mechanism both API uses for logging. Say if I use multiple time xdmp:log and xdmp:trace in the query , For every time

Re: [MarkLogic Dev General] xdmp:trace and xdmp:log

2011-06-29 Thread Abhishek53 S
...@developer.marklogic.com [ mailto:general-boun...@developer.marklogic.com] On Behalf Of Abhishek53 S Sent: Wednesday, June 29, 2011 2:41 AM To: General MarkLogic Developer Discussion Cc: neha_punj...@mcgraw-hill.com Subject: [MarkLogic Dev General] xdmp:trace and xdmp:log Hi Folks Now this question is more

Re: [MarkLogic Dev General] Query Parsing

2011-06-28 Thread Abhishek53 S
Van: general-boun...@developer.marklogic.com [ mailto:general-boun...@developer.marklogic.com] Namens Abhishek53 S Verzonden: dinsdag 28 juni 2011 7:28 Aan: General MarkLogic Developer Discussion Onderwerp: Re: [MarkLogic Dev General] Query Parsing Danny Thanks for your reply . My question

  1   2   >