Re: Optimizing/minimizing memory usage of memory-based indexes

2006-02-11 Thread Wolfgang Hoschek
Initially it might, but probably eventually not. I was thinking Lucene formats might also be bit more compact than vanilla hash maps, but I guess that depends on many factors. But I will probably want to play with actual queries later on, based on frequencies. OK. In the latter case, are yo

Re: Optimizing/minimizing memory usage of memory-based indexes

2006-02-11 Thread Tatu Saloranta
--- Wolfgang Hoschek <[EMAIL PROTECTED]> wrote: > Hi Tatu, > > I take it that simply maintaining the frequencies in > a hashmap > similar to > org.apache.lucene.index.memory.AnalyzerUtil.getMostFrequentTerms() > > isn't sufficient for your usecases? Initially it might, but probably eventual

Re: Optimizing/minimizing memory usage of memory-based indexes

2006-02-10 Thread Wolfgang Hoschek
Hi Tatu, I take it that simply maintaining the frequencies in a hashmap similar to org.apache.lucene.index.memory.AnalyzerUtil.getMostFrequentTerms() isn't sufficient for your usecases? In the latter case, are you using org.apache.lucene.store.RAMDirectory or org.apache.lucene.index.mem