I am using the free Drupal hosting via http://freedrupal5hosting.com/, so I don't know which version of Drupal I have.

But I still have a question: when do documents I enter get indexed? Is there a way to force indexing to occur?

When I submit content, it doesn't appear in the search results if I search right away. Exiting Drupal or closing the browser doesn't force indexing. If I wait and check back in a few hours, I can find the document with the same search query that failed earlier.

I assume the reason the first search query failed is that the document wasn't yet indexed. Therefore my questions:
(1) When DOES a document get indexed?
(2) How can I force indexing?

TIA and apologies if this is posted to the incorrect forum group. I made my best guess.

Comments

alpinejag’s picture

Pages get indexed during cron runs, you probably don't have access to cron with a free host. If they let you install modules you can try poormanscron. Also if they haven't changed default locations, the script is located at www.example.com/cron.php, so if you load that in your browser for your domain it should run the script (when it loads it will be a blank page).

Administer>logs>status report also has a link to run cron.

mlavannis’s picture

* Go to Administer-->Logs->Recent Log Entries
* Look for a log : Cron run completed.
* CLick on it (the mesage in the "message" column is a link)
* Click on the lnk in the "Location" field - it should be something like: http://your-web-site/cron.php
* You will see a blank page - this means cron is running in the background
* Hit the back button on your browser
* Go back to Administer-->Logs->Recent Log Entries
* You should see a new entry for : Cron run completed.

The pages should now have ben re-indexed -- good luck!