lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vasu shah <vasusha...@yahoo.com>
Subject PrefixFilter Memory Consumption
Date Tue, 17 Oct 2006 21:04:47 GMT
Hi,
   
  Can anyone please tell as to what is the difference between PrefixFilter and WildcardQuery
as far as memory is concerned? 
   
  I saw the code of PrefixFilter and it gets TermEnum for all the terms in the index. Won't
this consume memory??
   
  I started using PrefixFilter, ConstantScoreQuery instead of WildcardQuery to avoid OOM exception.
I am using ChainedFilters to do boolean logic for the filters.
   
  Thanks again for all the help.
   
  -Vasu

 		
---------------------------------
Get your email and more, right on the  new Yahoo.com 
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message