Re: How to change the similarity function of lucene

2007-09-28 Thread Ariel
Sorry the delay. But, what I want to do is to change the terms weigth, I don´t want that terms weight be the frecuency the term appear in the document intead of that I want it to be another special measure and with that change the similarity function. I don´t know how to change the terms weight in

Re: How to change the similarity function of lucene

2007-09-24 Thread Grant Ingersoll
Perhaps you can explain in what way you want to make it more powerful? There are possibilities to do: 1. Change the Similarity class (a call back mechanism) 2. Implement or extend Queries, Scorers, etc. 3. Others??? See http://lucene.apache.org/java/docs/scoring.html for some insights. In oth