Re: problems writing a custom Similarity class

2011-09-30 Thread Robert Muir
On Sun, Sep 25, 2011 at 1:35 PM, Jason Toy wrote: > Scoring seems to still be using an idf score that is not 1 and returning > results sorted by rareness of a phrase instead of frequency of the word. also keep in mind overriding idf(int, int) might not give you what you want for phrase queries (s

Re: problems writing a custom Similarity class

2011-09-30 Thread Chris Hostetter
: I'm just starting to get into solr development and I want to try writing a : custom Scoring Class. I copied the DefaultSimilarity class and renamed it ... : I then make sure my TestSimilarity is always used by editing : conf/schema.xml to have this line: : : : Scoring seems to stil