Re: Different Similarities for the same field

2015-12-02 Thread Scott Stults
I haven't tried this before (overriding default similarity in a custom SearchComponent), but it looks like it should be possible. In QueryComponent.process() you can get a hold of the SolrIndexSearcher and call setSimilarity(). It also looks like this is set only once by default when the searcher i

Different Similarities for the same field

2015-11-24 Thread Markus, Sascha
Hi, I implemented a Similarity which is based on the DefaultSimilarity changing the calculation for the idf. To work with this CustomSimilarity and the DefaultSimilarity from our application I have one field with the default and a copyfield with my similarity. Concerning the extra space needed for