How to calculate payloads in queries too

2010-04-11 Thread Mike Schultz
I am interested in using payloads in the following way. I store Func(index-term) as a payload at index-term when indexing. When querying I want to compute Func(query-term) as well. Then my similarity returns some other function, Gunc(Func(index-term1),Func(query-term)). As an example, maybe I'

Re: java.lang.OutOfMemoryError: GC overhead limit exceeded

2010-04-11 Thread Herbert L Roitblat
Hi, Folks. Thanks, Ruben, for your help. It let me get a ways down the road. The problem is the the heap is filling up when I am doing a lucene.TermQuery. What I am trying to accomplish is to get the terms in one field of each document and their frequency in the document. A code snippet i