RE: Giving weight to partial matches

2006-06-21 Thread Gustavo Comba
Hi, You can use something like: (title:miracle title:cure title:for title:cancer)^5.0 +((+title:miracle +title:cure +title:for +title:cancer) (+content:miracle +content:cure +content:for +content:cancer)) Should do the work. Regards, Gustavo -Mens

RE: BooleanQuery

2006-06-21 Thread Gustavo Comba
Hello, I don't know how are you parsing your query, but may be the query you are looking for is something like: +(doccontent:avian doccontent:influenza) +doctype:AM +docdate:[2005033122000 TO 2006062022000] Regards, Gustavo -Mensaje original-

RE: Custom ScoreDocComparator and normalized Scores

2006-06-21 Thread Gustavo Comba
document to affect the score http://incubator.apache.org/solr/docs/api/org/apache/solr/search/functio n/package-summary.html : Date: Tue, 20 Jun 2006 11:31:42 +0200 : From: Gustavo Comba <[EMAIL PROTECTED]> : Reply-To: java-user@lucene.apache.org : To: java-user@lucene.apache

Custom ScoreDocComparator and normalized Scores

2006-06-20 Thread Gustavo Comba
rt using a comparator "who knows" the maximum score value (in order to normalize values on the fly), so I think there should be a more efficient and elegant way to do this. Any ideas? Any help will be appreciated! Thanks in advance, Gustavo Comba Emagister.com