Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 42886 invoked from network); 6 Mar 2007 09:37:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Mar 2007 09:37:32 -0000 Received: (qmail 43772 invoked by uid 500); 6 Mar 2007 09:37:33 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 43743 invoked by uid 500); 6 Mar 2007 09:37:33 -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 43732 invoked by uid 99); 6 Mar 2007 09:37:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2007 01:37:33 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of kumaranjove@gmail.com designates 64.233.182.186 as permitted sender) Received: from [64.233.182.186] (HELO nf-out-0910.google.com) (64.233.182.186) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2007 01:37:23 -0800 Received: by nf-out-0910.google.com with SMTP id g2so725948nfe for ; Tue, 06 Mar 2007 01:37:02 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=COBjLTW9GdRdV+F5y5EhdKCkaMpcvhRVPWvZHz9YKh+MGJ/2dQhaGDK0EA5lgSyDFbWm3H9ffiJnZHI0zkPZ15SOWSppEbNmlbOR8AIf/3293N/toNDxzBTGXz3nCnmtn3Qwm2xoSaIK33VV+u4uhXiYVQZUcJE6rfLP7x7s/ik= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=BxbL6YS1ipyBivEDXCzCvckUZo6KtXQDm8F5Eio6OXJM5yNwYa/zMkaS/Pnk5p9Zg+A4h6ylTPnKQpySOdFxi1C/1s19hjHeY3pEpHd4rD84Tm/hNPLwn5oFhR8DUIKvTw2HPfIk5R56EU4/iYBx2A+ASjDVFiAU38/kMx0dVO4= Received: by 10.78.160.2 with SMTP id i2mr755243hue.1173173822277; Tue, 06 Mar 2007 01:37:02 -0800 (PST) Received: by 10.78.39.2 with HTTP; Tue, 6 Mar 2007 01:37:01 -0800 (PST) Message-ID: <21e234c60703060137q1db5457fu8fc72a9205af7627@mail.gmail.com> Date: Tue, 6 Mar 2007 15:07:01 +0530 From: "senthil kumaran" To: java-user@lucene.apache.org Subject: Indexing & search? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_84821_17536718.1173173821987" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_84821_17536718.1173173821987 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I've indexed 4 among 5 fields with Field.Store.YES & Field.Index.NO. And indexed the remaining one, say it's Field Name is *content*, with Field.Store.YES & Field.Index.Tokenized(It's value is collective value of other 4 fields and some more values).So my search always based on *content*field. I've indexed 2 douments . In 1st doc, f1:mybook, f2:contains, f3:all, f4:information, content:mybook contains all information that you need and in 2nd f1:somebody, f2:want, f3:search, f4:information, content:somebody want search information of mybook I want to get search results of all docs where field1's value is "mybook".My query is content:mybook.But it returns 2 matching documents instead of 1. Any filters can i use for this?? Is there any possible way other than changing f1 to Field.Index.tokenized???Because i want to avoid duplication in index. ------=_Part_84821_17536718.1173173821987--