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 0B266200B85 for ; Thu, 15 Sep 2016 22:57:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 09D5A160AC6; Thu, 15 Sep 2016 20:57:46 +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 4E0B2160ABA for ; Thu, 15 Sep 2016 22:57:45 +0200 (CEST) Received: (qmail 80047 invoked by uid 500); 15 Sep 2016 20:57:44 -0000 Mailing-List: contact dev-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 dev@asterixdb.apache.org Received: (qmail 80029 invoked by uid 99); 15 Sep 2016 20:57:44 -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; Thu, 15 Sep 2016 20:57:44 +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 C81C9C6DEE for ; Thu, 15 Sep 2016 20:57:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.576 X-Spam-Level: *** X-Spam-Status: No, score=3.576 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=2.397, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-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 vvKHADPcl9Sv for ; Thu, 15 Sep 2016 20:57:41 +0000 (UTC) Received: from mail-qt0-f172.google.com (mail-qt0-f172.google.com [209.85.216.172]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 4875C5FB83 for ; Thu, 15 Sep 2016 20:57:41 +0000 (UTC) Received: by mail-qt0-f172.google.com with SMTP id 11so34176103qtc.0 for ; Thu, 15 Sep 2016 13:57:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Y3fvEBYaeFFNZi+oCOh+USFmkFUIhggHyPAgPvpyXFg=; b=hfj/bNJUeUpdGTd6IyVSn/yuAIvM/sd3Qh2sndZCj+WmksuWdMsAke1JzpmMt3soOm g7dgkHGobbZqCB6zpXzMKrMnZXeIxJDGsUhbwaNoI0rH+v1AL6fm7gcfO69ylHqR2CKL iXbPdMb+rU7y0cfJq4krNB61jesT9gnFoi6iWll5Ns+fq+ysj/eNXyMkjaDBJEe+t9Yz fwBuC0i8+VypucOH5j8H8YXPe9lblaFvhxqow75Bm9r/5IqDeXUluV+w9PX8xSwukupX tJuE6vPSKk+Emi7fSlkaoLXb92zKvIIIZI50UrW4IVJKRhdbwYMwqq93i6YiukBo6MdL GqzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Y3fvEBYaeFFNZi+oCOh+USFmkFUIhggHyPAgPvpyXFg=; b=nDZX+dFud3FlwTkQFIKPTS9Dwclawa4mONWbiyo76bJGZOIRMyItYa0TCGwh+BHw2A 4VO+RSf51G7MWE/7385YeP4AOn23FQM+LfXaEWL54s9JIzCVXwLKsJRw05Ya4VWZwzp1 P6XPPf5/uG/EPajNIWPt5m+nBpBsVoHgr6PbFSn4Zh8ZZTmRDYdZRXUIt/NfmzXkcroG X194mtrZ0gCnFIakJ09h0szwGW+FRe1GZ8Oc3L2ZR0LFycPcPyI7y3TCIjGYOlMoKG/0 /rMoodJSsQ81xHCaLVMHrtCdC+F2wFMR5v09kLSxqDEIIOuDHQPl0o9icG0HkuJ2CPZo 247w== X-Gm-Message-State: AE9vXwNlbcF5Ufas1Q6FAGqLZw2aNBE3Sl7PauGSXoD9y7iiqjNhHlEAB3YzoSTv4GF2aixrJJ850b9PNKmVZg== X-Received: by 10.237.33.167 with SMTP id l36mr11987943qtc.103.1473973055027; Thu, 15 Sep 2016 13:57:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.159.39.163 with HTTP; Thu, 15 Sep 2016 13:57:04 -0700 (PDT) In-Reply-To: References: From: Taewoo Kim Date: Thu, 15 Sep 2016 13:57:04 -0700 Message-ID: Subject: Re: Function name change: contains() -> string-contains() To: dev@asterixdb.incubator.apache.org Content-Type: multipart/alternative; boundary=001a113977f45a9411053c92186d archived-at: Thu, 15 Sep 2016 20:57:46 -0000 --001a113977f45a9411053c92186d Content-Type: text/plain; charset=UTF-8 Reminder: Related to the full-text search, a string function named *contains*() will be renamed to *string-contains*() soon. Also, "*text*" will become a reserved word just like "for" or "where". It will happen soon as the first step to the full-text search merge. Here are more details about this change: On Wed, Mar 2, 2016 at 6:25 PM, Taewoo Kim wrote: > Hello All, > > I would like to suggest a current function name change. I am currently > working on Full Text Search features. XQuery Full-text search spec [1] > states that for a full-text search, the syntax is *RangeExpr ( "contains" > "text" FTSelection FTIgnoreOption? )?*. As you see, we are going to use > "contains text something". And we already have contains() function [2] that > does a substring match. So, in order to remove possible ambiguities > between two features, *contains()* will be renamed to *string-contains()* > when I merge my index-only branch to the master if there is no strong > opinion on this. Thank you. I will send another note as my merge > progresses. Thank you. > > [1] https://www.w3.org/TR/xpath-full-text-10/#doc-xquery10-FTContainsExpr > > [2] https://asterix-jenkins.ics.uci.edu/job/asterix-test-full/ > site/asterix-doc/aql/functions.html#StringFunctions > > Best, > Taewoo > Thank you. Best, Taewoo --001a113977f45a9411053c92186d--