From e49f85ed851ae9a69c8f3a279b19c4e4db74f280 Mon Sep 17 00:00:00 2001 From: Francis Irving Date: Mon, 4 Oct 2010 13:56:12 +0100 Subject: Show more similar requests. --- app/controllers/request_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/request_controller.rb') diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb index c8a75ff63..ded9fc3d3 100644 --- a/app/controllers/request_controller.rb +++ b/app/controllers/request_controller.rb @@ -53,7 +53,7 @@ class RequestController < ApplicationController # ... requests that have similar imporant terms behavior_cache :tag => ['similar', @info_request.id] do begin - limit = 3 + limit = 5 @xapian_similar = ::ActsAsXapian::Similar.new([InfoRequestEvent], @info_request.info_request_events, :limit => limit, :collapse_by_prefix => 'request_collapse') @xapian_similar_more = (@xapian_similar.matches_estimated > limit) -- cgit v1.2.3