Hopefully a simple feature request: "Add ability to "Force" default solr environment to update"

Here's my use case: On update of Node Child A, update the Parent Node B (from an entity relation field) in solr.

In the module ... it would need to have something like


function apachesolr_rules_add_solr_doc($entity, $env_id, $type = 'node', $update_default = false) {

  //If it is default solr environment then do nothin as default environment will be handled by apachesolr itself.
  if ($env_id == apachesolr_default_environment() && ! $update_default) {
    return FALSE;
  }

Comments

ronaldmulero’s picture

Status: Active » Needs review
StatusFileSize
new1.72 KB

Here's the patch. Created with git format-patch.

  • khoomy committed 2578e73 on 7.x-5.x
    Issue #2488608 by ronaldmulero: Add ability to 'Force' default solr...
khoomy’s picture

Version: 7.x-4.x-dev » 7.x-2.0
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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