lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "beatriz ramos" <beatriz.ramos.mor...@gmail.com>
Subject Re: number of term occurrences
Date Wed, 25 Oct 2006 09:11:21 GMT
Thank you

I had forgotten "Field.TermVector.YES" when I created the new Field



On 24/10/06, Samir Abdou <Samir.Abdou@unine.ch> wrote:
>
> Hi,
>
> You indexed without storing vectors! This is why the term vector is null.
>
> Samir
>
>
> -----Message d'origine-----
> De: Paz Belmonte [mailto:pazbl1@gmail.com]
> Envoyé: mardi, 24. octobre 2006 12:30
> Ŕ: java-user
> Objet: Re: number of term occurrences
>
> 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 <beatriz.ramos.moreno@gmail.com>:
> >
> >
> >
> > ---------- Forwarded message ----------
> > From: beatriz ramos <beatriz.ramos.moreno@gmail.com>
> > 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 <gsingers@apache.org> 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: java-user-unsubscribe@lucene.apache.org
> > > For additional commands, e-mail: java-user-help@lucene.apache.org
> > >
> > >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message