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 (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. xrichard1 +xwiki:XWiki.mstaicu - Content
-
... ... @@ -276,3 +276,17 @@ 276 276 {{code}} 277 277 +(object:XWiki.XWikiUsers object:XWiki.XWikiGroups) -name:XWikiGroupTemplate 278 278 {{/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}} 285 + 286 +If you would like to add a logical disjunction to the above use case, you can do it like this: 287 + 288 +{{code}} 289 ++Space.Class.databaseTreeProperty:(searchedValue OR anotherSearchedValue) 290 +{{/code}} 291 + 292 +This will return all documents which contain in the object's property value either searchedValue or anotherSearchedValue