MarkLogic Developer Discussion
general@developer.marklogic.com
Subject: Re: [MarkLogic Dev General] Are xml attributes indexed by
default
Re: [MarkLogic Dev General] Are xml attributes indexed by default
Hi Jon,
Your original expression was like this:
/*[
/*/itemMeta/url[@href
@developer.marklogic.com general@developer.marklogic.com
Subject: Re: [MarkLogic Dev General] Are xml attributes indexed by default
Yeah but in MarkLogic 4.1 it explicitly says the 2nd step doesn't use the
indexes:
qry:info-traceStep 2 does not use indexes: *[itemMeta/url/@href eq
123]/qry:info
To: General MarkLogic Developer Discussion general@developer.marklogic.com
Subject: Re: [MarkLogic Dev General] Are xml attributes indexed by default
Re: [MarkLogic Dev General] Are xml attributes indexed by default
Hi Jon,
Your original expression was like this:
/*[
/*/itemMeta/url
by default
Re: [MarkLogic Dev General] Are xml attributes indexed by default
Hi Jon,
Your original expression was like this:
/*[
/*/itemMeta/url[@href=$public_url]
]
That would return every root element in the database if there is any doc
which meets the predicate expression. I
To: General MarkLogic Developer Discussion
general@developer.marklogic.com
Subject: Re: [MarkLogic Dev General] Are xml attributes indexed by
default
Re: [MarkLogic Dev General] Are xml attributes indexed by default
Hi Jon,
Your original expression was like this:
/*[
/*/itemMeta/url
Hi,
Are attributes indexed by default in Mark Logic Server? The documentation
says the whole document structure is indexed but that doesn¹t answer the
question really.
For example I want to ensure the href attribute is indexed for the following
xquery:
xquery version 1.0-ml;
import module
:* general-boun...@developer.marklogic.com [mailto:
general-boun...@developer.marklogic.com] *Namens *Jonathan Cook - FMT
*Verzonden:* woensdag 11 januari 2012 12:56
*Aan:* general@developer.marklogic.com
*Onderwerp:* [MarkLogic Dev General] Are xml attributes indexed by default
Hi
of handling this..
Kind regards,
Geert
Van: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] Namens Jonathan Cook - FMT
Verzonden: woensdag 11 januari 2012 12:56
Aan: general@developer.marklogic.com
Onderwerp: [MarkLogic Dev General] Are xml
: general@developer.marklogic.com
Onderwerp: [MarkLogic Dev General] Are xml attributes indexed by default
Hi,
Are attributes indexed by default in Mark Logic Server? The documentation
says the whole document structure is indexed but that doesn’t answer the
question really.
For example I
Re: [MarkLogic Dev General] Are xml attributes indexed by default
Hi Jon,
Your original expression was like this:
/*[
/*/itemMeta/url[*@href*=$public_url]
]
That would return every root element in the database if there is any doc
which meets the predicate expression. I think
: Re: [MarkLogic Dev General] Are xml attributes indexed by default
Hi Jon,
Your original expression was like this:
/*[
/*/itemMeta/url[@href=$public_url]
]
That would return every root element in the database if there is any doc which
meets the predicate expression. I think writing
/*[itemMeta/url/@href eq $public_url]
is fully searchable on MarkLogic 5, but not 4.1
dunno why
From: evan.l...@marklogic.com
To: general@developer.marklogic.com
Date: Wed, 11 Jan 2012 14:36:40 -0800
Subject: Re: [MarkLogic Dev General] Are xml attributes indexed by default
Or slightly
Date: Wed, 11 Jan 2012 14:36:40 -0800
Subject: Re: [MarkLogic Dev General] Are xml attributes indexed by default
Or slightly more simply:
/*[itemMeta/url/@href eq $public_url]
However, I gave this to xdmp:plan() and, for some reason, it's not fully
leveraging the indexes here, despite my
@developer.marklogic.commailto:general@developer.marklogic.com
Subject: Re: [MarkLogic Dev General] Are xml attributes indexed by default
Yeah but in MarkLogic 4.1 it explicitly says the 2nd step doesn't use the
indexes:
qry:info-traceStep 2 does not use indexes: *[itemMeta/url/@href eq
123
14 matches
Mail list logo