How can I index all remaining items programatically? I'm just using the stock Drupal 7 search. Is there a function to index all the unindexed content from my module? And re-indexing? I haven't found this yet if it exists.
One way to do it is exec("drush search-index");.