lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Wiegand" <originaljimda...@gmail.com>
Subject Ranking search results by content type
Date Wed, 05 Mar 2008 15:18:53 GMT
Hi there,

What I am trying to do is get search results sorted by content type, since
there is an order in which results are preferred, for example:

* Topics
* Postings
* Replies
* News

in that order.  The content type is encoded in a "type" field that is stored
in the document.
Am I right in thinking that I need custom Analyzers to accomplish this or is
this something that can be done with a configuration file?
Now what I am seeing is the default ranking which only analyzes the
significance of the search term, which mixes up the content types.
What is the best way to approach a requirement like this?  At the query
level, the solr level, or the Lucene level?

-jim

-- 
-- 
Jim Wiegand
-----------
Home: originaljimdandy@gmail.com
AIM: originaljimdandy
WWW: http://www.netzingers.com
Cell: 215 284 8160

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message