lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vasu shah <>
Subject PrefixFilter Memory Consumption
Date Tue, 17 Oct 2006 21:04:47 GMT
  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.

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