ValueSource/Function questions

2010-07-01 Thread Blargy
) | (h >>> 10); h += name().hashCode(); return h; } -- View this message in context: http://lucene.472066.n3.nabble.com/ValueSource-Function-questions-tp936672p936672.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: ValueSource/Function questions

2010-07-01 Thread Yonik Seeley
On Thu, Jul 1, 2010 at 1:02 PM, Blargy wrote: > Can someone explain what the createWeight methods should do? Its primary function is to add Searcher context to anything that needs it (such as weighting a query). If you're not dealing with relevancy-type queries, value sources should just delegate