Question: Please Answer if you are very sure about Marklogic, otherwise Please don't answer it. I am getting spam answers. cts:search(doc()), cts:near-query( (cts:near-query( ( cts:near-query((pig,pit), 3),

Please Answer if you are very sure about Marklogic, otherwise Please don't answer it. I am getting spam answers.

cts:search(doc()), cts:near-query( (cts:near-query( ( cts:near-query(("pig","pit"), 3), cts:element-range query (ws:(QName('ac:nod'),"s","bite")),3 ),cts:near-query(("pig","pit"), 4), cts:element-range query (ws:(QName('ac:nod'),"s","panda")),3 )), 3 ) ),"unfiltered")

sample.xml

the pig in a pit bits the cat the pig in a pit bites panda

The above query is one of the near query doesn't match the document then why the document is returning the sample.xml

It is MARKLOGIC, Please Answer if you are very sure. Thanks

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!