You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by re...@apache.org on 2014/10/14 16:46:27 UTC

[3/3] git commit: CXF-5923: Create sample to demonstrate usage of search extension with Lucene and Tika. Added OR/AND search criteria support.

CXF-5923: Create sample to demonstrate usage of search extension with Lucene and Tika. Added OR/AND search criteria support.


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/92502a5e
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/92502a5e
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/92502a5e

Branch: refs/heads/master
Commit: 92502a5e2af6e5d3c544f89396de2d05d539fd41
Parents: 3ade4ba
Author: reta <dr...@gmail.com>
Authored: Tue Oct 14 10:45:23 2014 -0400
Committer: reta <dr...@gmail.com>
Committed: Tue Oct 14 10:45:23 2014 -0400

----------------------------------------------------------------------
 .../samples/jax_rs/search/src/main/resources/browser/index.html | 5 -----
 1 file changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/92502a5e/distribution/src/main/release/samples/jax_rs/search/src/main/resources/browser/index.html
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jax_rs/search/src/main/resources/browser/index.html b/distribution/src/main/release/samples/jax_rs/search/src/main/resources/browser/index.html
index 2505e83..6caff3a 100644
--- a/distribution/src/main/release/samples/jax_rs/search/src/main/resources/browser/index.html
+++ b/distribution/src/main/release/samples/jax_rs/search/src/main/resources/browser/index.html
@@ -102,18 +102,13 @@
     			
     			if( $( "#all" ).is( ":checked" ) ) {
     				contentQuery += "(";
-    				wildcardsQuery += ",(";
 
     				query.split( " " ).forEach( function( entry ) {
     					if( contentQuery.length > 1 ) contentQuery += ";";
-    					if( wildcardsQuery.length > 2 ) wildcardsQuery += ";";
-    					
     					contentQuery += "ct==" + encodeURIComponent( entry );
-    					wildcardsQuery += "source==" + encodeURIComponent( "*" + entry + "*" );
         			} );
 
     				contentQuery += ")";
-    				wildcardsQuery += ")";
     			} else {
     				contentQuery = "ct==" + encodeURIComponent( query );