Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 49475 invoked from network); 25 Jun 2003 14:18:02 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 25 Jun 2003 14:18:02 -0000 Received: (qmail 16200 invoked by uid 97); 25 Jun 2003 14:20:24 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@nagoya.betaversion.org Received: (qmail 16193 invoked from network); 25 Jun 2003 14:20:24 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 25 Jun 2003 14:20:24 -0000 Received: (qmail 42789 invoked by uid 500); 25 Jun 2003 14:16:41 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 42712 invoked from network); 25 Jun 2003 14:16:40 -0000 Received: from web12705.mail.yahoo.com (216.136.173.242) by daedalus.apache.org with SMTP; 25 Jun 2003 14:16:40 -0000 Message-ID: <20030625141639.9949.qmail@web12705.mail.yahoo.com> Received: from [24.90.65.225] by web12705.mail.yahoo.com via HTTP; Wed, 25 Jun 2003 07:16:39 PDT Date: Wed, 25 Jun 2003 07:16:39 -0700 (PDT) From: Otis Gospodnetic Subject: Re: how lucene search? To: Lucene Users List In-Reply-To: <1056550046.3ef9ac9e4bfe5@webmail.bth.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N The search is made through the inverted index, just like you are thinking, with word lists and postings. Otis --- di99mwo@student.bth.se wrote: > Hi. > > I have read some documents about lucene. I have questions about how > lucene > search for matching words. > > I think I got it wrong, but here is what I get out of the text I > read: > Documents contents fields. In one of the field-value there are terms > that are > searchable. When the searched term is found in the field it returns > the field > which says where the document is. > > Questions: > To search if there are more terms that match, you have to search > through all > documents?????? > So every time you search for a word you have to search through all > documents?? > > > I thought that when you create a inverted index, you go through all > words in > the documents and make a list. The list contents words that only > appeare once > in the list. Each word in the list points out those documents that > content that > word. And there are a table that says where every document is > located. In this > way you don't have to search through all documents everytime you do a > search. > > I'm confused... > sorry for my English > > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: lucene-user-help@jakarta.apache.org > __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org