Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 10850 invoked from network); 15 Nov 2010 22:20:02 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Nov 2010 22:20:02 -0000 Received: (qmail 36578 invoked by uid 500); 15 Nov 2010 22:20:32 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 36536 invoked by uid 500); 15 Nov 2010 22:20:32 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 36528 invoked by uid 99); 15 Nov 2010 22:20:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Nov 2010 22:20:32 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of erickerickson@gmail.com designates 209.85.216.169 as permitted sender) Received: from [209.85.216.169] (HELO mail-qy0-f169.google.com) (209.85.216.169) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Nov 2010 22:20:24 +0000 Received: by qyk1 with SMTP id 1so279633qyk.14 for ; Mon, 15 Nov 2010 14:20:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=usJQeiyiq4EZijSRtetWJVWq0Qi2sh+sKD0PyAY1TBE=; b=Y5GgYjIt21wND39JO0kbjRV+0vfaY3ZCaaNkhmqws1qBvs3O2ztOoqSMq+MDnUonl7 w5K8lRpsXEk+gWNxOco65lSN39hpnIEBpXLN/bbNB6icZES8HJnCjJv3MWBfp9JzSvzP ZTSDIFzsEh1jfsrI43k8sl7LNBs8eUhHsXfXw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Pt+0fTZC2nba0DwOvMdmwN11SWvKKaSiJ2YCMIF1qyOUU+15M7J+G/BVAp7ghGbT3g Ck1W8FfJeMFJDBnKPeoarAYS5ElhY6UahELLf5nmaMtYGmWS8/UZonhxj12KXxQ/IHs8 LDrXCMTBOLEED1T3CJpIcd0a72WNrchajFS9g= MIME-Version: 1.0 Received: by 10.229.212.12 with SMTP id gq12mr5544151qcb.154.1289859603180; Mon, 15 Nov 2010 14:20:03 -0800 (PST) Received: by 10.229.216.19 with HTTP; Mon, 15 Nov 2010 14:20:03 -0800 (PST) In-Reply-To: References: Date: Mon, 15 Nov 2010 17:20:03 -0500 Message-ID: Subject: Re: What is the best Analyzer and Parser for this type of question? From: Erick Erickson To: java-user@lucene.apache.org Content-Type: multipart/alternative; boundary=0016363b82c0752c4a04951ed771 X-Virus-Checked: Checked by ClamAV on apache.org --0016363b82c0752c4a04951ed771 Content-Type: text/plain; charset=ISO-8859-1 First question: What's the default operator? Out of the box, its OR. See QueryParser.setDefaultOperator... Second, how are you forming your query? Just running it at the query parser? Query.toString() may be your friend. Best Erick On Mon, Nov 15, 2010 at 2:20 PM, Celso Fontes wrote: > I am using this code, with SnowBall and TopDocScore > the code: http://pastebin.com/3X3gbpXE > > Example of Question: > - What is the role of PrnP in mad cow disease? > > I am running in 11.638 documents and the result is 10410 docs for this > question (lowwwwww precision) > How optimize this? > > Thanks, > Celso. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > > --0016363b82c0752c4a04951ed771--