Hi, thanks for all your answers, but they don't work I have tried the 3 options and with all of them we get termDoc = 0 I have checked my index with Luke software and termDoc is 1 here, so my index is correct.
is it possible I have a problem with the reader? (because my index is allright) Thanks (when I talk about termDocs, it means number of documents in which term appears) On 24/10/06, Grant Ingersoll <[EMAIL PROTECTED]> wrote:
You can also use Term Vectors, at the cost of extra storage. Search this list for Term Vectors for info on how to implement. On Oct 23, 2006, at 5:50 AM, beatriz ramos wrote: > Hello, > I´m working with Lucene. I need to get the number of occurrences of > the term > in the document. I had seen the documentations ant I don´t find > anything. > Do you have any idea? > Thanks. -------------------------- Grant Ingersoll Sr. Software Engineer Center for Natural Language Processing Syracuse University 335 Hinds Hall Syracuse, NY 13244 http://www.cnlp.org --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]