Changes for page Lucene Search Query Help

Last modified by Djebloun Sidali on 2014/02/23 15:55

<
From version < 11.1 >
edited by Sergiu Dumitriu
on 2012/08/21 06:33
To version < 14.1 >
edited by Mircea Staicu
on 2013/02/18 17:30
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.Sergiu
1 +xwiki:XWiki.mstaicu
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 attachments containing the word test:
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":
... ... @@ -270,3 +270,9 @@
270 270  {{code}}
271 271  +(object:XWiki.XWikiUsers object:XWiki.XWikiGroups) -name:XWikiGroupTemplate
272 272  {{/code}}
279 +
280 +Looking for documents by a value which is stored in a DatabaseTree property in an object. As a mention, the searched value can be wrapped inside round paranthesis or single / double quotes
281 +
282 +{{code}}
283 ++Space.Class.databaseTreeProperty:(searchedValue)
284 +{{/code}}

Get Connected