idea for advanced use: If the rules module is available, allow using a condition set for deciding whether an entity should be indexed. That would be *very* useful for being able to create indexes suiting for special needs. (The rules UI can be embedded easily.)

Comments

drunken monkey’s picture

Ah, I already planned on providing additional data-alter callbacks that allow filtering depending on bundle, language or other such things that are possible in a generic way, but if Rules provides a UI based on entity type alone, this of course would be a far better option.
But I don't think I'll have enough time to add such features at the moment, when there are still some pressing bugs or critical missing features, so this might take a while.

But of course, patches are welcome. ;)

#917998: Make data alter callbacks objects and let them have a configuration form would be a pre-requisite in any case (if I don't add another way to filter out specific items, which would be superfluous imo), but if I knew someone really needed it, I would make that a priority.

fago’s picture

As we now have data-alter callbacks that can do that, I think we could integrate Rules the samy way, right?

drunken monkey’s picture

Title: integrate Rules conditions to decide which entities should be index » Integrate Rules conditions to filter indexed entities

Yes, of course — it's just a question of actually doing that, since I don't believe it's that easy to do …

Nick_vh’s picture

Component: Code » Framework
Issue summary: View changes
Issue tags: +rules integration

Do we want to bump this feature request up to Drupal 8? I don't know if rules and drupal 8 is a combination that will be ready. Up until then I suppose this can stay in the D7 feature request lane.

Nick_vh’s picture

Component: Framework » Drush / Rules
Issue tags: -rules integration +integration
legolasbo’s picture

Status: Active » Closed (outdated)

This issue has not seen activity in over 2,5 years. I am therefore closing this issue to clean up the issue queue. Feel free to re-open and update this issue if you feel this issue is still relevant and of importance.