Need some help setting this module

lelizondob - September 2, 2009 - 21:32
Project:Distributed Search
Version:6.x-1.0-alpha2
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

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

lelizondob - September 4, 2009 - 00:21
Title:better documentation» Need some help setting this module

Maybe changing the title gets more attention :)

#2

aufumy - September 16, 2009 - 18:28

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

lelizondob - September 16, 2009 - 20:19

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.

 
 

Drupal is a registered trademark of Dries Buytaert.