Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 614119071 for ; Mon, 31 Oct 2011 09:40:00 +0000 (UTC) Received: (qmail 65157 invoked by uid 500); 31 Oct 2011 09:39:57 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 65055 invoked by uid 500); 31 Oct 2011 09:39:49 -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 65047 invoked by uid 99); 31 Oct 2011 09:39:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2011 09:39:46 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ian.lea@gmail.com designates 209.85.210.176 as permitted sender) Received: from [209.85.210.176] (HELO mail-iy0-f176.google.com) (209.85.210.176) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2011 09:39:40 +0000 Received: by iakh37 with SMTP id h37so10800540iak.35 for ; Mon, 31 Oct 2011 02:39:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=1zqaZ/Kz6l031eHGDVBFGL3NrQ8LqQGOC2TQ/l9IW78=; b=iTtdX06A3LnRhrcRx1P/CubRhCw4pY8JYbeecsxIWypZu1XDW+I5eDuHbjljQDggAc zVzw47OFQkJ+8+iE6iZfuI3n5CA0cQNhtW7Eq8H+WHQwmcoNBa6yX/jgDMFQpLCx6YZe 08+ZHomOL/xp+dEpCy+btLWVv7hr8rcqiZ1bA= Received: by 10.42.244.133 with SMTP id lq5mr21764450icb.29.1320053960111; Mon, 31 Oct 2011 02:39:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.45.141 with HTTP; Mon, 31 Oct 2011 02:38:59 -0700 (PDT) In-Reply-To: References: From: Ian Lea Date: Mon, 31 Oct 2011 09:38:59 +0000 Message-ID: Subject: Re: Weighted Query Sequence To: java-user@lucene.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sounds custom made for boosting. Depending on how you are structuring your fields and queries you could use either index or query time boosts, or even both. http://wiki.apache.org/lucene-java/LuceneFAQ#What_is_the_difference_between= _field_.28or_document.29_boosting_and_query_boosting.3F -- Ian. 2011/10/31 Shengtao Lei : > Hello Every One! > > > I'm struggling with my degree paper. My research project is build a searc= h > engine for a language which has many affixes and prefixes. > Many papers have been read=EF=BC=8C the common way is stemming, > My segmentation processor can cut of the affix and prefix =E3=80=82But fo= r this > language=EF=BC=8C i can't just remove them simply(My supervisor said so). > > what i should do is: > If User input a query like : " root + affix1+ affix2", It means "root" i= s > the most important , "affix1" and "affix2" are following "root". > If "root + affix1 + affix2" is founded in the doc, it is best result. If > not "root + affix1"matched is Better , If not "A"matched is also OK. > > How can I construct my query and search by using exist API? > Evey advice is appreciate! Thank you very much! > > Sincerely > Scott Lei > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org