Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1FF3917804 for ; Tue, 14 Oct 2014 14:46:27 +0000 (UTC) Received: (qmail 93348 invoked by uid 500); 14 Oct 2014 14:46:25 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 93223 invoked by uid 500); 14 Oct 2014 14:46:25 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 93151 invoked by uid 99); 14 Oct 2014 14:46:25 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Oct 2014 14:46:25 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 4E97192D8E1; Tue, 14 Oct 2014 14:46:25 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: reta@apache.org To: commits@cxf.apache.org Date: Tue, 14 Oct 2014 14:46:27 -0000 Message-Id: <3581be429c5a4c0eb3f189440d6cf94b@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer 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. 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 Authored: Tue Oct 14 10:45:23 2014 -0400 Committer: reta 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 );