You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by saikrishna venkata pendyala <pv...@gmail.com> on 2007/04/29 18:33:40 UTC

Re : term frequency calculation in Lucene

Hai ,

  Where does the lucene compute term frequency vector ? {filename,function
name}

  Actually the task is to replace the all term frequencies with some
constant number(integer), how to do this ?

  Any kind of help is appreciated .

Thanks in advance.

Re: term frequency calculation in Lucene

Posted by karl wettin <ka...@gmail.com>.
29 apr 2007 kl. 18.33 skrev saikrishna venkata pendyala:

>  Where does the lucene compute term frequency vector ?  
> {filename,function
> name}

DocumentWriter.java
private final void invertDocument(Document doc)

>  Actually the task is to replace the all term frequencies with some
> constant number(integer), how to do this ?

You want to map a diffrent integer than the frequency per term in a  
vector?


-- 
karl

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org