Community Documentation

Step 8 of 10 Indexing Drupal site

Last updated April 22, 2010. Created by Francewhoa on June 28, 2009.
Edited by bertboerland. Log in to edit this page.

We are now going to index our Drupal site by running CRON.

Still using your internet browser go to http://10.1.2.3/cron.php
Note: You must replace above 10.1.2.3 by your first remote Ubuntu Server IP address.

If successful the next page will be empty. A white page. This is normal. It means CRON is in progress.

To get a status report on the indexing progress go to http://10.1.2.3?q=admin/settings/apachesolr/index
Reload this page to see the progress.
Wait.

In my case the first paragraph of this page reads.

The search index is generated by running cron. 12% of the site content has been sent to the server. There are 350 items left to send.

The server has a 4 min delay before updates are processed.

Click on 'running cron' link until 100% of the site content has been sent to the Solr server.
Tips: Clicking the 'running cron' link does the same thing as going to http://10.1.2.3/cron.php

Note: The solrconfig.xml that comes with this modules defines auto-commit, so it may take a few minutes between running cron and when the new content is visible in search.

Using Drupal navigate to ADMINISTER > USER MANAGEMENT > PERMISSIONS
Under SEARCH MODULES section check the boxes beside SEARCH CONTENT & USE ADVANCED SEARCH giving access to both ANONYMOUS USER & AUTHENTICATED USER.

Click on SAVE PERMISSIONS button.

You have successfully indexed your Drupal site by running CRON.

Page status

No known problems

Log in to edit this page

About this page

Drupal version
Drupal 6.x
Audience
Developers and coders, Documentation contributors, Site administrators

Site Building Guide

Drupal’s online documentation is © 2000-2012 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.
nobody click here