Hi everybody,

i am new to this forum. I started using Lucene for my application.
Now i have a problem.
When i search in lucene e.g. title:hello then i get a lot of results.
My question is how can i get the number of occurrences of the word hello in one document. So i dont want to know in how much documents the word hello appears. I want to know how often the word hello appears in one document respectively how often the word hello appears in all documets. All i found was something like i have to use the TermFreqVector, but at last i only can get the number of all terms in one document, not only the one i searched for (hello).

Can someone give me a hint?