Results 1 to 1 of 1
- 12-14-2010, 04:00 PM #1Member
- Join Date
- Dec 2010
- Rep Power
Number of searched term in Documents
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?
- By ahamedirshad123 in forum Java CertificationReplies: 0Last Post: 05-03-2010, 09:03 AM
- By Reiyn in forum New To JavaReplies: 11Last Post: 04-16-2009, 11:28 PM
- By stefanybaez in forum Advanced JavaReplies: 2Last Post: 12-22-2008, 08:24 PM