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 karl wettin <ka...@gmail.com> on 2007/04/30 13:30:04 UTC

Re: term frequency calculation in Lucene

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