Closed (fixed)
Project:
OpenSearch feed
Version:
6.x-1.2
Component:
Third-party modules integration
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Jun 2010 at 19:19 UTC
Updated:
13 Oct 2010 at 03:00 UTC
Jump to comment: Most recent
Comments
Comment #1
shaneonabike commentedAs an update I think that if you install ApacheSolr then hte path is actually http://mysite/apachesolr_search/ but otherwise it defaults to the path specified above
Comment #2
Anonymous (not verified) commentedThe path used on Drupal.org is http://drupal.org/search/apachesolr_search/.
I am not sure what you mean by ; if ApacheSolr is not installed, then the Apache Solr Search Integration module should not even work. The module is then not supposed to be installed without ApacheSolr.
Comment #3
shaneonabike commentedSorry I got all muddled up in my original message kiam.
What I meant was that I suspect if you don't install Views3 then the default ApacheSolr is the path http://mysite/apache_solr/* rather than http:///apachesolr_sort/*
On the site that I am working on we aren't actually changing the ApacheSolr path this is what is used by the latest ApacheSolr module (w/o Views3). An example of this can be found here - http://library.ole.org/search/apache_solr/test
I'm not sure I have a solution here either then testing for both cases?
I also noticed that in your opensearch you are only checking for filters, but not checking for sort by criteria. This could be a really awesome addition to your great module.
Your original code:
My suggested modification:
Note: I simply grabbed all the q values and determined if that is empty or not. If it isn't empty then apachesolr must be taking on either a filter, sort, etc. Not entirely sure whether this is the best code to handle this situation.
Comment #4
shaneonabike commentedJust updating the status sorry
Comment #5
Anonymous (not verified) commentedThe URL used from all the modules implementing the search hook to return search results is always http://example.com/search/<module_name>. AFAIK, such URL doesn't change when you install Views 3, which doesn't handle those URLs; it is possible that you assign those URLs to a view, but that is a different case.
Comment #6
Anonymous (not verified) commentedThe cause of this issue was probably the one reported in #829644: Open search triggers search on search landing page; as the other issue report is marked as fixed, I am marking as fixed this issue too.