Questions tagged [marklogic-8]

8th Version of MarkLogic - An Enterprise NoSQL Database. Indicates a question specific to MarkLogic 8; use with the MarkLogic tag, but not instead of.

MarkLogic is the trusted enterprise NoSQL platform for Big Data applications to drive revenue, streamline operations, manage risk, and make the world safer. Marklogic 8 provided Native JSON storage, NodeJS Client API, JAVA Client API, Server Side Java Script etc.

Apply to questions that are specific to MarkLogic 8. This tag should be used in addition to the MarkLogic tag, which has many more followers. (If you have other other tags and have to choose between this one and MarkLogic, use the MarkLogic tag instead.)

564 questions
3
votes
1 answer

Retrieve All Document Count Varies in MarkLogic 9

I Recently Upgraded from MarkLogic-8 to MarkLogic-9, and i am having following set of Documents in MarkLogic-8, Collection - System, User Document URI - /user.xml Collection - System, Role Document URI - /role.xml Collection - System,…
DevNinja
  • 1,459
  • 7
  • 10
3
votes
2 answers

in-mem-update.xqy not found in MarkLogic 8.0-6.4

Has anyone faced the below error when running the application without admin user in MarkLogic 8.0-6.4 Module /opt/MarkLogic/Modules/MarkLogic/appservices/utils/in-mem-update.xqy not found The import is specified as follows in one of the…
3
votes
1 answer

How to get count based on collection and using multiple element-word-query with XQuery?

Trying to get count of cars based on different filters and within one collection. Even though we see multiple cars that meet the requirement, the query is returning count 0. fn:count(cts:search(fn:collection("com.cars"), cts:and-query(( …
Mohammed Khan
  • 405
  • 3
  • 13
3
votes
1 answer

Using CORB with Marklogic 8

Am a newbie to CORB and trying my hands on with the guide : https://github.com/marklogic-community/corb2/wiki/Hello-World-from-CORB My CORB JAR file version is : marklogic-corb-2.4.1 My MarkLogic xcc JAR file version is :…
Vikram
  • 635
  • 1
  • 9
  • 29
3
votes
1 answer

MarkLogic Search With Constraint Returning Wrong Result

xquery version "1.0-ml"; import module namespace search = "http://marklogic.com/appservices/search" at "/MarkLogic/appservices/search/search.xqy"; let $options :=
DevNinja
  • 1,459
  • 7
  • 10
3
votes
2 answers

Get XPath from XML Document Present in Marklogic Database

I am new to Marklogic and My Requirement is, I have XML document in Marklogic Database containing multiple elements. ** Example :**
Source1 …
DevNinja
  • 1,459
  • 7
  • 10
3
votes
1 answer

fn:replace to return one string on iteration

I am looking to implement a find and replace for a string from a document by using the key and value pair of a map. The code I currently have seems to be returning 2 strings because of 2 map values. I am looking to return one string with values in…
SteeleDev
  • 169
  • 1
  • 3
  • 12
3
votes
1 answer

MarkLogic: Committing multiple statements within a single transaction

I want to version a document, for which we are followed below approach to check-out and check-in the document in a single transaction. (:--------------------------- XQuery Starts ---------------------------:) xquery version "1.0-ml"; declare…
3
votes
2 answers

How to delete all the data from a database?

Just Data. The size of the database in the status tab should be 0 MB. Is there any API that can do the work and what if I try to purge all the directories using unix commands. Is it recommended ?
bosari
  • 1,922
  • 1
  • 19
  • 38
3
votes
2 answers

Transform XML elements of the same name into JSON properties of the same name

XML elements and JSON properties of the same name may be siblings. I.e.: value1 value2 and object-node { "value" : "value1", "value" : "value2" } are both valid, but I have not found a…
wst
  • 11,681
  • 1
  • 24
  • 39
3
votes
1 answer

How can create range index on element which has multiple namespace

We have different type of documents in Marklogic database. All document contain element "title" which has different type of namespace. I want to create a facet on all "title" elements which is available in the all documents. So we are trying to…
Raj
  • 177
  • 10
3
votes
1 answer

MLCP Import java.lang.UnsatisfiedLinkError

I am trying to import data into Marklogic server with MLCP. The data is in XML and inside an archive(zip) file. MLCP is ending with java.lang.UnsatisfiedLinkError I have tried with MLCP 8.0.6 and MLCP 8.0.7 but the error is same in both…
Dheeresh
  • 143
  • 2
  • 8
3
votes
1 answer

Paging for facets in Marklogic

I am getting the facets for a give search string using search:search($q, $options) Where $q is the search text and $options is
Ravi
  • 1,179
  • 6
  • 13
3
votes
2 answers

How to ignore "stop words" while sorting in MarkLogic?

Is there any way to ignore "stop words" while sorting. For example: I have words like dixit singla the marklogic On sorting in descending order the result should be singla, the marklogic, dixit As in the above example the is ignored. Any way to…
Dixit Singla
  • 2,540
  • 3
  • 24
  • 39
3
votes
2 answers

How do I improve indexing of large SPARQL datasets?

Here is a very simple SPARQL query that takes an extremely long time (10 seconds) to run in Marklogic (8.0-6.4). What can I do to speed it up? The data is based on a subset of geonames, and is of the same order of magnitude (about 22 million…
RMorrisey
  • 7,637
  • 9
  • 53
  • 71
1 2
3
37 38