Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 38789 invoked from network); 26 Sep 2006 04:51:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Sep 2006 04:51:39 -0000 Received: (qmail 73449 invoked by uid 500); 26 Sep 2006 04:51:33 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 73426 invoked by uid 500); 26 Sep 2006 04:51: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 73415 invoked by uid 99); 26 Sep 2006 04:51:32 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Sep 2006 21:51:32 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=ykzhujiang@gmail.com; spf=pass Authentication-Results: idunn.apache.osuosl.org header.from=ykzhujiang@gmail.com; domainkeys=good X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE Received-SPF: pass (idunn.apache.osuosl.org: domain gmail.com designates 64.233.166.179 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from [64.233.166.179] ([64.233.166.179:37658] helo=py-out-1112.google.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id FC/30-05106-2D1B8154 for ; Mon, 25 Sep 2006 21:51:31 -0700 Received: by py-out-1112.google.com with SMTP id w49so2528472pyg for ; Mon, 25 Sep 2006 21:51:28 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=WgxJzOtOIps3J1KWsG2cEqs5jmOa+Ny+hMcqj78TnftIWdUzZtiIwbmQYPbdCaXlUyFSmh3sS8iylWheQw805GS9zEsAYNEbKl2YdZMToZAbgWtfwkuKJDzhYwbyW4hiroTWOsbUV5Qz2cwmQDJf8yMFQsE7+Ja01NsfhDrg1D4= Received: by 10.35.95.1 with SMTP id x1mr651038pyl; Mon, 25 Sep 2006 21:51:28 -0700 (PDT) Received: by 10.35.83.15 with HTTP; Mon, 25 Sep 2006 21:51:28 -0700 (PDT) Message-ID: <23ee59170609252151i77222d51j5408ac807f64aa05@mail.gmail.com> Date: Tue, 26 Sep 2006 12:51:28 +0800 From: "zhu jiang" To: java-user@lucene.apache.org Subject: [Lucene2.0]How to not highlight keywords in some fields? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_45125_26604868.1159246288090" X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_45125_26604868.1159246288090 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi all, For example, if I have a document with two fields text and num like this: ---------------- text:foo bar 1 num:1 ---------------- When users query "foo", I changed the query to "text:foo AND num:1", both "foo" and "1" in the text field will be highlighted. I don't wanna the word "1" in text field to be highlighted. What should I do? Pls help me -- Thanks, Jiang ------=_Part_45125_26604868.1159246288090--