lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blazingwolf7 <blazingwo...@gmail.com>
Subject Re: Class in Lucene that Perform Search
Date Thu, 03 Jul 2008 08:03:01 GMT

Ah, thanks! I am clear now. Have to change tactics to achieve what I need.
Which class during indexing time will create the .frq file?

If possible, I want to add an extra value into it so that I can retrieve the
information during the searching process. Thank


Yonik Seeley wrote:
> 
> On Wed, Jul 2, 2008 at 10:30 PM, blazingwolf7 <blazingwolf7@gmail.com>
> wrote:
>> What I am missing is that I fail to locate the class that perform the
>> actual
>> comparison to determine if a query match any term in a document.
> 
> You need to understand the inverted index format.  Documents that
> match a term is determined at index time, not at query time.  The .frq
> file lists all documents that match each term.
> 
> TermDocs iterates over all documents that match the term by reading
> the .frq file.
> 
> -Yonik
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Class-in-Lucene-that-Perform-Search-tp18250664p18253813.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message