On 16/10/12 16:15, Walter Underwood wrote:
Why do you want that ordering? That isn't what Solr is designed to do. It is designed for 
relevance. I expect that idf (the rarity of the terms) is being used in the ordering. 
"mi_attempt" is probably much more rare than "allele".

If you want that strict ordering, I recommend doing three queries and 
concatenating the three result sets.

wunder

I want that ordering because alleles are more 'important' to a biologist than an mi_attempt, which is 'more important' than a phenotype_attempt.

If Solr isn't designed for this kind of stuff, then I will do the sorting manually after I have received all the documents. I could give huge boost values to each term, but then I guess I'm just using a sledgehammer to crack a nut.

Thanks

--
Regards,
      Asfand Yar Qazi
      Team 87 - High Throughput Gene Targeting
      Wellcome Trust Sanger Institute



--
The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE.

Reply via email to