Closed (fixed)
Project:
Nutch search engine integration
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Aug 2006 at 06:47 UTC
Updated:
3 Aug 2006 at 08:53 UTC
It seems that each page on drupalsearch returns the same page. So I guess the pager isn't working. I tried the term test. BTW, Robert good work!
Comments
Comment #1
robertdouglass commentedThanks for reporting this. Just to document how these modules work, the problem lies with the mapping between the GET qeury parameters that Drupal uses for pagination (page=) and the parameters that the Nutch search application expects (start=). To fix this mapping, the settings page from the OpenSearch Client module lets you enter a URL template. The one I'm using for Drupalsearch.com is this:
http://localhost/nutch/opensearch?query={searchTerms}&start={startIndex}&hitsPerSite=0&hitsPerPage=10
The OpenSearch Client module takes the Drupal parameter, page, and multiplies it by however many results are supposed to be returned (10), and substitutes the {startIndex} placeholder with that number.
And there is in fact a bug somewhere because on DrupalSearch.com, it isn't working.
Comment #2
sami_k commentedThis is a bug in opensearch client, not nutch and is fixed: http://drupal.org/node/76795