This involves taking a subclass of the DefaultSimilarity class, in Java, and adding that to your Solr setup. For someone versed in Java, this is relatively straight-forward. For others it is non-trivial.
Upayavira On Wed, Jan 16, 2013, at 10:57 AM, Amit Jha wrote: > Hi, > > How can I do this in solr4. > > Amit > On Thu, Dec 6, 2012 at 1:40 PM, Markus Jelsma > <markus.jel...@openindex.io>wrote: > > > custom similarity for that field that returns 1 for