<
From version < 10.2 >
edited by Vincent Massol
on 2011/12/03 13:58
To version < 12.1 >
edited by Xavier Richard
on 2013/01/18 22:22
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.VincentMassol
1 +xwiki:XWiki.xrichard
Content
... ... @@ -188,12 +188,18 @@
188 188  
189 189  Type of a document: "attachment", "wikipage" or "objects", used to control presentation of searchresults.
190 190  
191 -Look for "test" in attachments :
191 +Look for "test" in attachments:
192 192  
193 193  {{code}}
194 194  test AND type:attachment
195 195  {{/code}}
196 196  
197 +Look for "test" in pages but exclude the word test in attachments:
198 +
199 +{{code}}
200 +test AND -type:attachment
201 +{{/code}}
202 +
197 197  == filename ==
198 198  
199 199  Look for attachments with a filename starting with "test":
... ... @@ -202,6 +202,13 @@
202 202  filename:test*
203 203  {{/code}}
204 204  
211 +== mimetype ==
212 +
213 +Look for attachments with a certain MIME type. Examples:
214 +
215 +* Search for PDFs only: {{code language="none"}}mimetype:application/pdf{{/code}}
216 +* Search for all attachments except images: {{code language="none"}}type:attachment -mimetype:image/*{{/code}}
217 +
205 205  == object ==
206 206  
207 207  The "object:" prefix allow to search for pages containing objects from a specific class.

Get Connected