I have a basic query:
/*[fn:name()="something"]
(1) Marklogic 7 is taking multiple seconds, is there an index that I can add to make this query faster?
(2) Which in memory limits should be increased to improve performance?
(3) Are there other ways to improve the performance with a different query but get exactly the same result?
Try using
fn:node-name
instead. I believe that's optimized. You'll need to handle namespaces properly, and that's part of why it can be optimized whilefn:name
can't.