cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r844104 - in /websites/production/cxf/content: cache/docs.pageCache docs/jax-rs-advanced-features.html
Date Fri, 28 Dec 2012 12:48:08 GMT
Author: buildbot
Date: Fri Dec 28 12:48:08 2012
New Revision: 844104

Log:
Production update by buildbot for cxf

Modified:
    websites/production/cxf/content/cache/docs.pageCache
    websites/production/cxf/content/docs/jax-rs-advanced-features.html

Modified: websites/production/cxf/content/cache/docs.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/cxf/content/docs/jax-rs-advanced-features.html
==============================================================================
--- websites/production/cxf/content/docs/jax-rs-advanced-features.html (original)
+++ websites/production/cxf/content/docs/jax-rs-advanced-features.html Fri Dec 28 12:48:08
2012
@@ -198,8 +198,8 @@ assertEquals(<span class="code-quote">"G
 </pre>
 </div></div>
 
-<p>lets users search for all the Apache projects with the name 'CXF' and the version
greater or equal to '2.2'. The initial '=' separates the name of the query '_search' from
the FIQL expression, while '==' and '=ge=' convey 'equals to' and 'greater or equals to' respectively.<br
clear="none">
-An expression such as "name==CXF*" can be used to the partial equality checks (in this example:
the name should start from "CXF").</p>
+<p>lets users search for all the Apache projects with the name 'CXF' and the version
greater or equal to '2.2'. The initial '=' separates the name of the query '_s' from the FIQL
expression, while '==' and '=ge=' convey 'equals to' and 'greater or equals to' respectively.<br
clear="none">
+An expression such as "name==CXF*" can be used to do the partial equality check (example:
the name should start from "CXF").</p>
 
 <p>More complex composite expressions can also be expressed easily enough, examples:</p>
 
@@ -225,7 +225,21 @@ An expression such as "name==CXF*" can b
 
 <p>As you can see FIQL is rich enough for the service implementations to offer a more
interesting search experience around the well-known data, while still keeping the complexity
of URI expressions under control which makes it simpler to share such URI queries as well
as use the same query language no matter what data store is used internally by the service.
</p>
 
-<p>Note, when passing the FIQL queries via URI query parameters,  either '_search'
or '_s' query parameter has to be used to mark a FIQL expression for it not to 'interfere'
with other optional query parameters. Alternatively the expressions can be encoded as URI
path segments, see the sections below for more information.</p>
+<p>Note, when passing the FIQL queries via URI query parameters,  either '_search'
or '_s' query parameter has to be used to mark a FIQL expression for it not to 'interfere'
with other optional query parameters. Starting from CXF 2.7.2 it is also possible to use the
whole query component to convey a FIQL expression, example,</p>
+
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-java">
+
+<span class="code-comment">// Find all books on math or physics published in 1999 only.
+</span>/books?date=lt=2000-01-01;date=gt=1999-01-01;(sub==math,sub==physics)
+
+</pre>
+</div></div>
+
+<p>Note that no "_s" or "_search" query parameter is available, the whole query string
starting after "?" represents an actual FIQL expression.<br clear="none">
+Please use "search.use.all.query.component" contextual property for this option be supported.</p>
+
+<p>Alternatively the expressions can be encoded as URI path segments, see the sections
below for more information.</p>
 
 <h2><a shape="rect" name="JAX-RSAdvancedFeatures-WhentouseFIQL"></a>When
to use FIQL</h2>
 
@@ -752,7 +766,7 @@ filter.accept(jpa);
 </div></div>
 
 <p>Second, one may want to find say all the books written by at least two authors or
all the books with no reviews.<br clear="none">
-If a collection entity such as BookReview has a not primitive type, then typing "reviews==0"
is all what is needed, otherwise a count expension needs to be used, for example: "count(authors)=ge=2"
</p>
+If a collection entity such as BookReview has a non primitive type, then typing "reviews==0"
is all what is needed, otherwise a count extension needs to be used, for example: "count(authors)=ge=2"
</p>
 
 
 <h3><a shape="rect" name="JAX-RSAdvancedFeatures-Lucene"></a>Lucene</h3>
@@ -1294,7 +1308,7 @@ assertEquals(<span class="code-quote">"f
 </pre>
 </div></div>
 
-<p>Note, starting from CXF 2.7.1 the following can be used to make connection multiple
primitive expressions simpler:</p>
+<p>Note, starting from CXF 2.7.1 the following can be used to make connecting multiple
primitive expressions simpler:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
 <pre class="code-java">



Mime
View raw message