Sorry hit send too soon. Personally, given the use case, I think I would still prefer the two query approach. It seems way too much work to do a handler (unless you want to learn how to do it) to support this.
On Thu, 2011-09-22 at 12:31 -0700, Sujit Pal wrote: > I have a few blog posts on this... > http://sujitpal.blogspot.com/2011/04/custom-solr-search-components-2-dev.html > http://sujitpal.blogspot.com/2011/04/more-fun-with-solr-component.html > http://sujitpal.blogspot.com/2011/02/solr-custom-search-requesthandler.html > > but its quite simple, just look at some of the ones already in there. > > If you need books, check out the Apache Solr 3.1 Cookbook - it has a > chapter on how to do this. > > -sujit > > On Thu, 2011-09-22 at 02:13 -0700, MOuli wrote: > > Hmm is it possible for me to write my own search component? > > > > I just downloaded the solr sources and need some informations how the search > > components work. Is there anything out there which can help me? > > > > -- > > View this message in context: > > http://lucene.472066.n3.nabble.com/Sort-five-random-Top-Offers-to-the-top-tp3355469p3358152.html > > Sent from the Solr - User mailing list archive at Nabble.com.