3

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 create range index on element "title" but how provide all namespaces in namespace uri field. Any suggestion.

Raj
  • 177
  • 10

1 Answers1

3

I think the most straight-forward way is to create a field on those elements (or paths), and then add a field range index.

HTH!

Mads Hansen
  • 63,927
  • 12
  • 112
  • 147
grtjn
  • 20,254
  • 1
  • 24
  • 35
  • 3
    I agree with @grtjn -- a field is the way to go. To help, here's the relevant section of the docs: http://docs.marklogic.com/guide/admin/fields. – Dave Cassel Oct 04 '17 at 14:17