On Thu, Jul 28, 2011 at 3:48 PM, Pranav Prakash <pra...@gmail.com> wrote: [...] > I am not sure how to use SweetSpotSimilarity. I am googling on this, but > any useful insights are so much appreciated.
Replace the existing DefaultSimilarity class in schema.xml (look towards the bottom of the file) with the SweetSpotSimilarity class, e.g., have a line like: <similarity class="org.apache.lucene.search.SweetSpotSimilarity"/> Regards, Gora