Solr 4.0

I want to avoid the TF.IDF and use a "binary" model, i.e., if the keyword is in 
the document, the score is 1, no matter how frequent the keyword is in that 
document. If the keyword is not in the document, than the score is zero. I also 
want to avoid the idf.

e.g.,

query: pizza

doc: pizza pizza

the score of "pizza" within doc should be 1.

Any idea on how this can be achieved?

Thanks,
-SR

Reply via email to