Changes for page Lucene Search Query Help
Last modified by Djebloun Sidali on 2014/02/23 15:55
Change comment:
Document the mimetype field
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. VincentMassol1 +xwiki:XWiki.Sergiu - Content
-
... ... @@ -202,6 +202,13 @@ 202 202 filename:test* 203 203 {{/code}} 204 204 205 +== mimetype == 206 + 207 +Look for attachments with a certain MIME type. Examples: 208 + 209 +* Search for PDFs only: {{code language="none"}}mimetype:application/pdf{{/code}} 210 +* Search for all attachments except images: {{code language="none"}}type:attachment -mimetype:image/*{{/code}} 211 + 205 205 == object == 206 206 207 207 The "object:" prefix allow to search for pages containing objects from a specific class.