In development I've run into the need to delete just one content type from the index. In the general case, I think this translates to a need to make arbitrary queries and delete them from the index (like uid:5, or tid:10). Should get built in a way that will support Drush support later (ie abstract and API'ified enough that Drush has easy way to tie in).
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | drush.patch | 8.06 KB | robertdouglass |
Comments
Comment #1
robertdouglass commentedI'm changing the function signatures for the following:
function apachesolr_rebuild_index_table($type = NULL)
function apachesolr_delete_index($type = NULL)
Both now take an optional parameter that represents a single content type.
Additionally I added drush support to call these functions from the command line:
Comment #2
robertdouglass commented