Document: Meta data URL: https://lenya.zones.apache.org/cms/docu/authoring/docu20/reference/metadata.html Changed by user: Andreas Hartmann (andreas)
---- Added: /document/body/section[4] <section> (http://apache.org/forrest/document/v20) ---- Added: /document/body/section[4]/title <title> (http://apache.org/forrest/document/v20) ---- Added: /document/body/section[4]/title/text() Searching Meta Data ---- Added: /document/body/section[4]/p[1] <p> (http://apache.org/forrest/document/v20) ---- Added: /document/body/section[4]/p[1]/text() Since all meta data fields are indexed by Lucene, the most performant way to search for a document containing a particular meta data field is a Lucene query. The names of the index fields for meta data are using the unified syntax for XML element names: ---- Added: /document/body/section[4]/source[1] <source> (http://apache.org/forrest/document/v20) ---- Added: /document/body/section[4]/source[1]/@space [attr] space=preserve (http://www.w3.org/XML/1998/namespace) ---- Added: /document/body/section[4]/source[1]/text() {namespace-URI}local-name ---- Added: /document/body/section[4]/p[2] <p> (http://apache.org/forrest/document/v20) ---- Added: /document/body/section[4]/p[2]/text() So a query for a dublin core title would look like this: ---- Added: /document/body/section[4]/source[2] <source> (http://apache.org/forrest/document/v20) ---- Added: /document/body/section[4]/source[2]/@space [attr] space=preserve (http://www.w3.org/XML/1998/namespace) ---- Added: /document/body/section[4]/source[2]/text() {http://purl.org/dc/elements/1.1/}title:Hello ---- Added: /document/body/section[4]/p[3] <p> (http://apache.org/forrest/document/v20) ---- Added: /document/body/section[4]/p[3]/text() For more information on the query syntax, please consult the Lucene documentation. ---- --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
