Changes for page Lucene Search Query Help
Last modified by Djebloun Sidali on 2014/02/23 15:55
From version 3.1
edited by Vincent Massol
on 2010/12/08 19:44
on 2010/12/08 19:44
Change comment:
There is no comment for this version
To version 8.1
edited by Eduard Moraru
on 2011/04/20 17:01
on 2011/04/20 17:01
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. WebHome1 +Extension.Search Application - Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. VincentMassol1 +xwiki:XWiki.enygma - Content
-
... ... @@ -1,9 +1,9 @@ 1 - 1 +{{box cssClass="floatinginfobox" title="**Contents**"}} 2 2 {{toc/}} 3 3 {{/box}} 4 4 5 5 {{info}} 6 -Need more informations see the [[lucene website>>http://lucene.apache.org/java/docs/queryparsersyntax.html]]6 +Need more informations? See the [[lucene website>>http://lucene.apache.org/java/docs/index.html]]. More specifically look for the "Query Syntax" documentation entry for the Lucene Core version matching the version used in your XWiki installation (to find the version used by XWiki look for ##lucene-core-x.y.z.jar## in the XWiki's ##/WEB-INF/lib## folder. For example for XWiki Enterprise 2.6 uses Lucene Core 2.9.3 which means the Lucene Query Syntax can be found [[here>>http://lucene.apache.org/java/2_9_3/queryparsersyntax.html]]. 7 7 {{/info}} 8 8 9 9 = Terms = ... ... @@ -140,7 +140,7 @@ 140 140 + - && || ! ( ) { } [ ] ^ " ~ * ? : \ 141 141 {{/code}} 142 142 143 -To escape these character use thebefore the character. For example to search for (1+1):2 use the query:143 +To escape these character use "\" (backslash) before the character. For example to search for (1+1):2 use the query: 144 144 145 145 {{code}} 146 146 \(1\+1\)\:2 ... ... @@ -148,7 +148,7 @@ 148 148 149 149 = Searchable fields = 150 150 151 -XWiki documents contain wiki content and meta-information ,lucene indexes such information in fields.151 +XWiki documents contain wiki content and meta-information. Lucene indexes such information in fields. 152 152 153 153 == wiki == 154 154 ... ... @@ -247,3 +247,11 @@ 247 247 {{code}} 248 248 creationdate:20090708* 249 249 {{/code}} 250 + 251 +== Searching for fields in XWiki objects == 252 + 253 +Beside Lucene's XWiki specific index fields, querying for documents based on the property values of contained XWiki objects is also possible. 254 + 255 +{{code}} 256 +XWiki.XWikiUsers.first_name:'Administrator' 257 +{{/code}}