Seems not to work
sami_k - August 2, 2006 - 06:47
| Project: | Nutch search engine integration |
| Version: | 4.7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
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!

#1
Thanks 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.
#2
This is a bug in opensearch client, not nutch and is fixed: http://drupal.org/node/76795