Hi,

I have tried this options too and the Term Vector return null.

Which do you think that it is the problem?


2006/10/24, beatriz ramos <[EMAIL PROTECTED]>:



---------- Forwarded message ----------
From: beatriz ramos <[EMAIL PROTECTED]>
Date: 24-Oct-2006 11:24
Subject: Re: number of term occurrences
To: java-user@lucene.apache.org

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]
>
>

Reply via email to