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
-
- Parent
-
... ... @@ -1,1 +1,1 @@ 1 -Extension. LuceneSearch Application1 +Extension.Search Application - Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. Sidali1 +xwiki:XWiki.mstaicu - Content
-
... ... @@ -176,26 +176,6 @@ 176 176 name:WebHome 177 177 {{/code}} 178 178 179 -== space == 180 - 181 -space : Name of the space the document belongs to 182 - 183 -Look for the word "test" in the space "Blog": 184 - 185 -{{code}} 186 -test AND exactspace:Blog 187 -{{/code}} 188 - 189 -== exactspace == 190 - 191 -exactspace : is the name of the space the document belongs to, untokenized for exact matches 192 - 193 -Look for the word "test" in the space "Blog": 194 - 195 -{{code}} 196 -test AND exactspace:Blog 197 -{{/code}} 198 - 199 199 == lang == 200 200 201 201 Look for "Voila" in french documents : ... ... @@ -302,11 +302,3 @@ 302 302 {{code}} 303 303 +Space.Class.databaseTreeProperty:(searchedValue) 304 304 {{/code}} 305 - 306 -If you would like to add a logical disjunction to the above use case, you can do it like this: 307 - 308 -{{code}} 309 -+Space.Class.databaseTreeProperty:(searchedValue OR anotherSearchedValue) 310 -{{/code}} 311 - 312 -This will return all documents which contain in the object's property value either searchedValue or anotherSearchedValue