Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 90417 invoked from network); 26 Mar 2010 16:10:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Mar 2010 16:10:00 -0000 Received: (qmail 84532 invoked by uid 500); 26 Mar 2010 16:10:00 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 84337 invoked by uid 500); 26 Mar 2010 16:09:59 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 84330 invoked by uid 99); 26 Mar 2010 16:09:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Mar 2010 16:09:59 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [74.125.83.48] (HELO mail-gw0-f48.google.com) (74.125.83.48) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Mar 2010 16:09:52 +0000 Received: by gwb19 with SMTP id 19so1103597gwb.35 for ; Fri, 26 Mar 2010 09:09:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.145.18 with HTTP; Fri, 26 Mar 2010 09:09:30 -0700 (PDT) In-Reply-To: <8f0ad1f31003260824w4f7752ccmc23f8b4182b088b9@mail.gmail.com> References: <8E4A31EF-2C00-4BFA-B249-F3CAE076EFFC@apache.org> <8f0ad1f31003260723o54212da7h292b7f2b63092fc3@mail.gmail.com> <59b3eb371003260729p52ab6c95q2e6fbd328f9566c8@mail.gmail.com> <786fde51003260815l7851abf9ncf96d21afd373448@mail.gmail.com> <8f0ad1f31003260824w4f7752ccmc23f8b4182b088b9@mail.gmail.com> Date: Fri, 26 Mar 2010 12:09:30 -0400 Received: by 10.150.208.11 with SMTP id f11mr2026291ybg.59.1269619770892; Fri, 26 Mar 2010 09:09:30 -0700 (PDT) Message-ID: <9ac0c6aa1003260909m768fe6d4seac70c7f80620bb9@mail.gmail.com> Subject: Re: Modules From: Michael McCandless To: java-dev@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org I think we should consolidate all query parsers as a module? And all queries (contrib/queries + oal/search/*Query)? I don't think we should leave "basic X" inside core... I think there should be one place to get the different Xs lucene offers (where X is a query parser, queries, analyzers, etc.). When you buy an engine it doesn't come with basic windshield wipers or basic tires... Ie, it shouldn't be expected that core would be usable on its own, right? It is today, but that's just because it bundles so much and we've all gotten used to core being a bundle... On tests... I wouldn't mind if core tests (but not core itself) depended on modules. I don't think that's bad... the tests will need a query parser, queries, analyzers. Making test-only variants (eg a TestAnalyzer) is OK but I worry that this'd promote homogeneity in our testing. Ie now we have some degree of "realism" in our tests because we use real analyzers, real query parser, real queries. We could also do a fast cutover, allowing tests to depend on modules, but then aim with time to remove that dependency... Mike On Fri, Mar 26, 2010 at 11:24 AM, Robert Muir wrote: > 2010/3/26 Shai Erera : >> +1 for moving modules up one level. >> >> As for analyzers, I also prefer if lucene won't depend on modules even >> if just for the tests. That way one who doesn't use any module can >> check out lucene only. We can keep in lucene some basic analyzers >> (Whitespace, Simple) as well as a best out of the box choice - >> Standard for new users. >> >> Shai > > Shai, personally i am happy just to try to merge in the solr > functionality with what we have in contrib, so it doesn't matter too > much. But at the same time maybe we should reconsider this > Whitespace/Simple/Standard case. I do think its a little wierd to have > analyzers scattered all over the place... but two places instead of > three is still an improvement. > > I would really love to see them all in one place though, for the > users. I think that the elegance of our tests should be second to the > users ease. > Perhaps we could just have a fast and dirty TestAnalyzer so the core > tests don't need to depend on analyzers instead??? > > -- > Robert Muir > rcmuir@gmail.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-dev-help@lucene.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org