lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Ranking search results by content type
Date Wed, 05 Mar 2008 23:35:22 GMT

: Or you can do what I do and when you search, just weight each type
: differently.  My types are all just one letter, so for instance:
: 
: q=((search string) AND type:A^1) OR ((search string) AND type:B^10) OR etc etc

a simpler approach would be...

  q = +(search string) type:A^1 type:B^10 type:C^3.5  ...

this is what the "bq" param was designed for by the way...

   q = search string
  bq = type:A^1 type:B^10 type:C^3.5




-Hoss


Mime
View raw message