Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

XDMP-ELEMRIDXNOTFOUND #856

Open
tanatrajan opened this issue Oct 25, 2017 · 3 comments
Open

XDMP-ELEMRIDXNOTFOUND #856

tanatrajan opened this issue Oct 25, 2017 · 3 comments
Labels

Comments

@tanatrajan
Copy link

Thank you for submitting an issue!

If this is a bug, please use the bug template below. If this is an enhancement request, please use the RFE template below. Before submitting your issue, please do us a favor and search currently open issues. If your issue already exists, please make a comment there advocating your issue be addressed sooner.

Bug Template

The issue

Short description of the problem:

What are the steps to reproduce the problem?

  1. One
  2. Two
  3. Three

Tech Specs

Which Operating System are you using?

Which version of MarkLogic are you using?

Which version of Roxy are you using (see version.txt)?

RFE Template

The RFE

Short description of the problem:

Your business use case. How much time would this save you? Can you currently work around this missing feature?

Timeframe : How urgently do you feel you need this RFE addressed? Why?

@tanatrajan
Copy link
Author

recently i upgraded from ML7 to ML 8.0-7.1. now getting the below error. i've checked the element range indexes and they are present. Also updated the rewrite.xqy and updated local.properties to include

rewrite-resolves-globally=true

but still no luck.

XDMP-ELEMRIDXNOTFOUND: cts:element-values(xs:QName("alias:target-uri"), (), (), cts:element-range-query(xs:QName("alias:facade-uri"), "=", "/", ("collation=http://marklogic.com/collation/"), 1)) -- No string element range index for {http://www.tso.co.uk/publication/alias}facade-uri http://marklogic.com/collation/

In /util/alias.xqy on line 27
In alias-lib:lookup-target-uri("/")
$facade-uri = "/"
In /restxq-resources/generic.xqy on line 66
In generic:get#1("")
$var1 = ""
$uri = "/"
$doc = ()
In /util/lib/rxq.xqy on line 338
In rxq:mux("", "", generic:get#1, 1)
$produces = ""
$consumes = ""
$function = generic:get#1
$arity = 1
$_ = ()
$fn = generic:get#1
In /util/lib/rxq.xqy on line 126
In rxq:process-request(fn:false())
$enable-cache = fn:false()
$mode = "mux"
$arity = 1
$use-custom-serializer = "false"
$gzip-content = "false"
$filters-sequence = ()
In /rxq-rewriter.xqy on line 60

@dmcassel
Copy link
Collaborator

In your build.properties, did you change "server-version=7" to "server-version=8"? After doing so, you bootstrapped? How did you verify that the index is present? Often when we see that error, it's the collation that is mismatched; please double-check that.

Would you be able to submit a build.properties and config.xml sufficient to reproduce the problem?

@grtjn
Copy link
Contributor

grtjn commented Jan 10, 2018

Hi @tanatrajan, were you able to resolve the issue?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants