lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: how lucene search?
Date Wed, 25 Jun 2003 14:16:39 GMT
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


Mime
View raw message