Re: hit position

2010-09-07 Thread Erick Erickson
Line number is a completely unknown concept to Lucene, you have to somehow figure it out. I've seen at least two ways to make that work: 1> use payloads. A payload is just a bit of data you attach to each token, what you put in there is up to you, so you can encode this kind of information how

Re: Blocking on IndexSearcher search

2010-09-07 Thread Paul Taylor
Uwe Schindler wrote: Im using Windows and I'll try NIO, good idea, my app is already memory hungry in other areas so I guess MMapped is a no go, doe sit use heap or perm memory ? It uses address space for mapping the files into virtual memory (like a swap file) - this is why it o