Re: SweetSpotSimilarity

2010-07-02 Thread Chris Hostetter
: Side question. How would I know if a configuration option can also take a : factory class.. like in this instance? by reading the example schema.xml... -Hoss

Re: SweetSpotSimilarity

2010-06-28 Thread Blargy
ded ;) ) to the updateProcessorFactory configuration in solr-config.xml. The wiki should probably include this information. Side question. How would I know if a configuration option can also take a factory class.. like in this instance? -- View this message in context: http://lucene.472066.n3.nabble.com/Swee

Re: SweetSpotSimilarity

2010-06-28 Thread Ahmet Arslan
> How would you configure the tfBaselineTfFactors and > LengthNormFactors when > configuring via schema.xml? CustomSimilarityFactory that extends org.apache.solr.schema.SimilarityFactory should do it. There is an example CustomSimilarityFactory.java under src/test/org...

Re: SweetSpotSimilarity

2010-06-28 Thread Blargy
6.n3.nabble.com/SweetSpotSimilarity-tp922546p928730.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: SweetSpotSimilarity

2010-06-25 Thread Ahmet Arslan
> Thanks. Im guessing this is all or nothing.. ie you can't > you one similarity > class for one request handler and another for a separate > request handler. Is > that correct? correct, also re-index is required. length norms are calculated and stored at index time.

Re: SweetSpotSimilarity

2010-06-25 Thread Blargy
472066.n3.nabble.com/SweetSpotSimilarity-tp922546p922622.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: SweetSpotSimilarity

2010-06-25 Thread Ahmet Arslan
> Would someone mind explaining how this differs from the > DefaultSimilarity? The difference is length normalization. Default one punishes long documents. "Sweet one computes to a constant norm for all lengths in the [min,max] range (the "sweet spot"), and smaller norm values for lengths out of

SweetSpotSimilarity

2010-06-25 Thread Blargy
e.com/SweetSpotSimilarity-tp922546p922546.html Sent from the Solr - User mailing list archive at Nabble.com.