Need some help setting this module
| Project: | Distributed Search |
| Version: | 6.x-1.0-alpha2 |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
I'm trying to configure this module, I have 3 sites, 'server.mydomain.com', 'mydomain.com/client1' and 'mydomain.com/client2'.
I enabled the following modules on both client1 and cilent2
- Services
- Apache solr framework
- Apache Solr node access
- Apache Solr search
- Key Authentication
- XMLRPC Server
- Search Service (with the patch from http://drupal.org/node/459334)
Then on server.mydomain.com I enabled the following modules.
- Apache Solr Framework
- Apache Solr Node access
- Apache Solr search
- Distributed Search
- Services
- OpenID Service
Then on both client1 and cilent2 I created a Key going to admin/build/services/keys, with the following:
Application title: Search Server
Allowed domain: server.mydomain.com
Method access: search.nodes, search.content, search.solr.total, search.users
I got one key for client1 and another one for client2
Then on both sites I went to admin/build/services/settings and Set Authorization module to 'key Authentication'. Checked Use keys, and Use sessid
Then I went to the server site to admin/settings/distributed_search and added the two clients
Title: Client1
Description URL: http://mydomain.com/client1
Api key: my key
Finally I ran cron on the three sites. Went to server.mydomain.com and started searching and nothing.
I just don't know what I did wrong. I thought it could be Apache Solr but I disabled it and started using the Drupal Search module and still nothing. Apache Solr is in my local server, it is working, If I search on cilent1 for something on that site I get the results, the same for cilent2.
Finally I have a patch on Apache Solr (http://drupal.org/node/411262#comment-1615246) so it only indexes nodes from the current site and not from all the sites sharing the same Solr instance.
I don't know if I did something wrong. Thanks in advance.

#1
Maybe changing the title gets more attention :)
#2
Sorry, I had not configured the issues to be emailed to me. Now done.
The first thing, use http://drupal.org/project/solr_service instead of search service.
Will check to see if my documentation/code is up to date.
#3
Thanks for the reply.. I'm using solr_service. I created the module with the patch at #459334: Return count of search results but I'll try again now the module has been released.