Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 82F5F200D41 for ; Wed, 8 Nov 2017 00:58:24 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 81855160C00; Tue, 7 Nov 2017 23:58:24 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id CA8C7160BED for ; Wed, 8 Nov 2017 00:58:23 +0100 (CET) Received: (qmail 32561 invoked by uid 500); 7 Nov 2017 23:58:23 -0000 Mailing-List: contact notifications-help@asterixdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@asterixdb.apache.org Delivered-To: mailing list notifications@asterixdb.apache.org Received: (qmail 32552 invoked by uid 99); 7 Nov 2017 23:58:23 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Nov 2017 23:58:23 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 12478CDDD0 for ; Tue, 7 Nov 2017 23:58:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Y-sMdZRyfa56 for ; Tue, 7 Nov 2017 23:58:20 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 0FC5D6367A for ; Tue, 7 Nov 2017 22:50:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 2ACE4E2592 for ; Tue, 7 Nov 2017 22:50:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 58DDD241B6 for ; Tue, 7 Nov 2017 22:50:00 +0000 (UTC) Date: Tue, 7 Nov 2017 22:50:00 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: notifications@asterixdb.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ASTERIXDB-2153) Fulltext does not handle the search option properly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 07 Nov 2017 23:58:24 -0000 [ https://issues.apache.org/jira/browse/ASTERIXDB-2153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16243058#comment-16243058 ] ASF subversion and git services commented on ASTERIXDB-2153: ------------------------------------------------------------ Commit 63645130f5e590dae2e117235a37b35d30044943 in asterixdb's branch refs/heads/master from [~wangsaeu] [ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=6364513 ] [ASTERIXDB-2153][COMP][RT] Ensure the fulltext search option is properly handled - user model changes: no - storage format changes: no - interface changes: no details: When a fulltext search operation is combined with multiple other predicates, the fulltext search option was not handled properly. This patch set ensures that the fulltext search option is correctly handled. Change-Id: I240fbe08891d29532c6fcd60638a3b6bbe8da771 Reviewed-on: https://asterix-gerrit.ics.uci.edu/2116 Sonar-Qube: Jenkins Tested-by: Jenkins Contrib: Jenkins Reviewed-by: Taewoo Kim Integration-Tests: Jenkins > Fulltext does not handle the search option properly > --------------------------------------------------- > > Key: ASTERIXDB-2153 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-2153 > Project: Apache AsterixDB > Issue Type: Bug > Reporter: Taewoo Kim > Assignee: Taewoo Kim > > Fulltext search does not handle the search option (conjunctive - AND or disjuctive - OR) properly when a WHERE predicate contains multiple conditions like the following case. It always conducts a disjunctive (OR) search even though the option tells to do "AND" search. > {code} > select t.`text` from twitter.ds_tweet t > where t.`create_at` >= datetime('2017-10-10T16:48:28.980Z') and t.`create_at` < datetime('2017-10-10T17:48:28.980Z') and ftcontains(t.`text`, ['house','of','cards'], {'mode':'all'}); > {code} > {code} > select t.`text` from twitter.ds_tweet t > where t.`create_at` >= datetime('2017-10-10T16:48:28.980Z') and t.`create_at` < datetime('2017-10-10T17:48:28.980Z') and ftcontains(t.`text`, ['house','of','cards']); > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)