Results 1 to 1 of 1
- 12-14-2010, 03:00 PM #1
Member
- Join Date
- Dec 2010
- Posts
- 1
- Rep Power
- 0
Number of searched term in Documents
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?
Thanks
Similar Threads
-
scjp documents-help me
By ahamedirshad123 in forum Java CertificationReplies: 0Last Post: 05-03-2010, 09:03 AM -
[SOLVED] Array troubles, yes I searched...
By Reiyn in forum New To JavaReplies: 11Last Post: 04-16-2009, 11:28 PM -
Importing documents
By stefanybaez in forum Advanced JavaReplies: 2Last Post: 12-22-2008, 07:24 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks