Created a quick port to Drupal 6. Please test.

CommentFileSizeAuthor
field_indexer_6-1.patch11.06 KBDenRaf

Comments

David Lesieur’s picture

Status: Needs review » Needs work

Most of the patch seems right (based on a quick look), however I don't think that just replacing db_next_id() with db_last_insert_id() will do...
Instead, the schema must use the 'serial' type for the 'fiid', and the records of the 'field_indexer_map' table be written with drupal_write_record().

scott859’s picture

subscribing...

deepthistars’s picture

great module..subscribing..when will this be released

David Lesieur’s picture

David Lesieur’s picture

Status: Needs work » Fixed

I have committed DenRaf's patch with some changes, mainly:

  • Using the 'serial' type for the primary key of the field_indexer_map table, and drupal_write_record() for saving records to this table.
  • Deleting entries in the search_node_links table when wiping a field.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.