Displaying 2 results from an estimated 2 matches for "itemsperpag".
Did you mean:
itemsperpage
2007 Nov 09
2
Problem with stemming and AAF
...ch with AAF, which works as expected; I''m
running a ferret drb server, and using will_paginate to page results.
The code in my search_controller.rb:
search_text = params[:query] || " "
@products = Product.find_with_ferret(search_text, :page =>
params[:page], :per_page => #$ItemsPerPage, :limit => $ItemsPerPage,
:offset => $offset)
@results_pages = Product.paginate_search(search_text, :page =>
params[:page], :per_page => $ItemsPerPage)
The next step was to implement stemming, which seemed straightforward
enough. I created the stemmed_analyzer.rb file in the lib dir...
2006 Jan 03
1
opensearch template
...lt;/description>
<language>en</language>
<copyright>(C)2005, Xapian.org</copyright>
<openSearch:totalResults>$msize</openSearch:totalResults>
<openSearch:startIndex>$add{topdoc,1}</openSearch:startIndex>
<openSearch:itemsPerPage>$hitsperpage</openSearch:itemsPerPage>
$hitlist{
<item>
<title>$html{$or{$field{title},$field{caption}}}</title>
<link>$field{url}</link>
<description>$highlight{$field{sample},$terms,<strong>,</strong&...