Changes for page Lucene Search Query Help
Last modified by Djebloun Sidali on 2014/02/23 15:55
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -Lucene Search Query Help 1 + Lucene Search Query Help - Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. xrichard1 +xwiki:XWiki.enygma - Content
-
... ... @@ -107,7 +107,7 @@ 107 107 To search for documents that contain "jakarta apache" but not "Apache Lucene" use the query: 108 108 109 109 {{code}} 110 -"jakarta apache" -"Apache Lucene"110 +"jakarta apache" -"Apache Lucene" 111 111 {{/code}} 112 112 113 113 == Grouping == ... ... @@ -188,33 +188,20 @@ 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 attachments containing the word test: 198 - 199 -{{code}} 200 -test AND -type:attachment 201 -{{/code}} 202 - 203 203 == filename == 204 204 205 -Look for attachments with a filename starting with"test":199 +Look for attachments with a filename starting by "test": 206 206 207 207 {{code}} 208 208 filename:test* 209 209 {{/code}} 210 210 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 - 218 218 == object == 219 219 220 220 The "object:" prefix allow to search for pages containing objects from a specific class. ... ... @@ -270,9 +270,3 @@ 270 270 {{code}} 271 271 XWiki.XWikiUsers.first_name:'Administrator' 272 272 {{/code}} 273 - 274 -Look for all users or groups, except the group template: 275 - 276 -{{code}} 277 -+(object:XWiki.XWikiUsers object:XWiki.XWikiGroups) -name:XWikiGroupTemplate 278 -{{/code}}