migrate pivots module recommendation indexer to use ApacheSolr
danithaca - July 6, 2009 - 14:03
| Project: | Drupal.org infrastructure |
| Component: | Drupal.org module |
| Category: | feature request |
| Priority: | normal |
| Assigned: | danithaca |
| Status: | active |
Jump to:
Description
Now pivots use its own indexer to detect module mentions in forum discussions. We'll migrate it to use ApacheSolr.
Two possible ways to do it:
1) Query the Solr server directly from the pivots program running on scratch.d.o. This will not affect d.o. performance. But it needs to read the params to connect to Solr and might introduce security concerns.
2) Query the Solr server using the ApacheSolr module API on d.o. This might add slightly more workload to d.o.
Comments? Thanks.

#1
Narayan and Damien know the setup-up better, but I think the security is just IP/firewall based. The main concern with adding it to scratch or some other server that might get new development code is that it would be better to prohibit updates. If the firewall can do path matching, that should be pretty easy by allowing only /solr/select
#2
Does solution 2 allow us to completely skip the pivot program when fetching results to be displayed on a project page? If so, let's do that!