Return-Path: X-Original-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E98299700 for ; Mon, 26 Mar 2012 07:20:44 +0000 (UTC) Received: (qmail 50670 invoked by uid 500); 26 Mar 2012 07:20:43 -0000 Delivered-To: apmail-jackrabbit-oak-dev-archive@jackrabbit.apache.org Received: (qmail 50581 invoked by uid 500); 26 Mar 2012 07:20:41 -0000 Mailing-List: contact oak-dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-dev@jackrabbit.apache.org Received: (qmail 50552 invoked by uid 99); 26 Mar 2012 07:20:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2012 07:20:40 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of a.schrijvers@1hippo.com designates 64.18.2.8 as permitted sender) Received: from [64.18.2.8] (HELO exprod7og118.obsmtp.com) (64.18.2.8) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 26 Mar 2012 07:20:34 +0000 Received: from mail-ob0-f177.google.com ([209.85.214.177]) (using TLSv1) by exprod7ob118.postini.com ([64.18.6.12]) with SMTP ID DSNKT3AYrVMJ9JVOu4u2pmdn2e4ddEjxXmyb@postini.com; Mon, 26 Mar 2012 00:20:14 PDT Received: by obbup16 with SMTP id up16so5965765obb.36 for ; Mon, 26 Mar 2012 00:20:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding:x-gm-message-state; bh=Gkr8Amcyvxjor9HHRgoUycivKm2pHg28JNBXK8dByEQ=; b=B5BVouImTrse8CVdzE+xzmNkVATa56JL12dyaq3qxq+WtGNt9FX+xHYa8ZkGM7oxdR +4GfXLAX/cA7qM9JIMrafbnE2lVIG9tCxaHuWDU/BUocP44cAW3mg18McpU6NOevf0kE U36+AHlT7ttiKZaT/+G5Z0EDVlYEKvBdgQIlZp8uyOGDYKDMR5Sv791UO/9eTvg2kfl1 ICV6KY1F4fkeytUKmkW8nDZ86z+x9ujgqXjgGD9ji+OmlhE77GDqTMd/oYfSM5HS0Dqd zz2RUxJfV472+pJudJqYDXrs6Jz28Q+X0Yu33hv180SmftrBf8Cavys5fIL/OyLe9hLB WD1A== MIME-Version: 1.0 Received: by 10.60.29.39 with SMTP id g7mr27090714oeh.6.1332746412610; Mon, 26 Mar 2012 00:20:12 -0700 (PDT) Received: by 10.60.95.168 with HTTP; Mon, 26 Mar 2012 00:20:12 -0700 (PDT) In-Reply-To: References: Date: Mon, 26 Mar 2012 09:20:12 +0200 Message-ID: Subject: Re: Re (OAK-36) Implement a query parser - what about indexing? From: Ard Schrijvers To: oak-dev@jackrabbit.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQltA3M45PaDGBn/Y/iM3LrWQDC/Jn2t97AIEA3m+zgAtczu2T1g9IJrKsAeXtRn2KJzf8JS X-Virus-Checked: Checked by ClamAV on apache.org On Fri, Mar 23, 2012 at 6:57 PM, Justin Edelson wrote: > On Fri, Mar 23, 2012 at 5:40 AM, Ard Schrijvers > wrote: > >> >> Although I am on thin ice here, I think there are hardly any noSQL >> stores out there that actually include full text indexes. > > Yes, but the goal of Oak explicitly says "The implementation should provi= de > more out-of-the-box functionality than typical NoSQL databases while > achieving comparable levels of scalability and performance." the 'more out-of-the-box functionality' does not imply a full-text index is needed per se. For example hierarchy isn't part of most NoSQL databases, that is already more functionality I am just a bit skeptical about 'more x but the same y'. It seems to me to be impossible to have a full text index and comparable levels of scalability with NoSQL databases that do not concern about hierarchy or full text indexes. Giving up some performance for a hierarchy makes much sense, because it is true added value. > > >> I think we >> shouldn't try to address it in the repository, but rather provide some >> tooling to easily setup a (external) full text index (like plain >> Lucene, or use Solr/Elastic search) according someones exact needs >> (like, which analyzer to use for which part of the content, which >> properties should be stored, which properties should be analyzed in >> which ways, which properties are meant for TrieRanges, =A0etc etc) >> > I agree that for many use cases a separate index is appropriate. That > doesn't obviate the need/appropriateness for an internal full-text search > index. I would/do agree only if the full-text search index doesn't imply much performance constraints, higher memory consumption, and scalability issues. Imho, the price for full text indexes is way too high, while I still doubt usability in the end. Regards Ard > > Justin > > >> >> Regards Ard >> >> > >> > [1]: >> > >> http://wiki.apache.org/jackrabbit/Goals%20and%20non%20goals%20for%20Jack= rab >> > bit%203 >> > >> > Regards, >> > Thomas >> > >> --=20 Amsterdam - Oosteinde 11, 1017 WT Amsterdam Boston - 1 Broadway, Cambridge, MA 02142 US +1 877 414 4776 (toll free) Europe +31(0)20 522 4466 www.onehippo.com