cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [3/3] git commit: CXF-5923: Create sample to demonstrate usage of search extension with Lucene and Tika. Added OR/AND search criteria support.
Date Tue, 14 Oct 2014 14:46:27 GMT
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 <drreta@gmail.com>
Authored: Tue Oct 14 10:45:23 2014 -0400
Committer: reta <drreta@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 );
     			    			


Mime
View raw message