dcsimg
memory usage from a query
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Richard_Krenek
Posted On:   Tuesday, April 12, 2005 01:56 PM

What is the memory usage of a Lucene query? Is this correct?

1 Byte * Number of fields in your query * Number of
docs in your index.

I found this at http://mail-archives.eu.apache.org/mod_mbox/jakarta-lucene-user/200406.mbox/%3CDIENLCKNNDCDMPIEODNMIEFIJCAA.mflorence@airsmail.com%3E

I just making sure this is correct. Our index has 8 million records, we do a query that uses 10 fields, this query would take up 80 megs.

Just verifying this info.

Thanks

Re: memory usage from a query

Posted By:   Otis_Gospodnetic  
Posted On:   Tuesday, April 12, 2005 08:35 PM

I'm not exactly sure, but I think that is not 100% correct. There is a term index interval file (.tii) that also dictates the memory usage at search time. The interval can be adjusted via one of the API methods, but requires reindexing.
About | Sitemap | Contact