Changes for page Lucene Search Query Help

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

<
From version < 14.1 >
edited by Mircea Staicu
on 2013/02/18 17:30
To version < 16.1 >
edited by Thomas Mortagne
on 2013/05/02 17:55
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Parent
... ... @@ -1,1 +1,1 @@
1 -Extension.Search Application
1 +Extension.Lucene Search Application
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.mstaicu
1 +xwiki:XWiki.ThomasMortagne
Content
... ... @@ -282,3 +282,11 @@
282 282  {{code}}
283 283  +Space.Class.databaseTreeProperty:(searchedValue)
284 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

Get Connected