It's a common operation that the module associated with an index and the type of content the index contains must be retrieved. There should be an API function that allows us to get both pieces of information from the $index object in one line of code similar to the following:

list($module, $type) = luceneapi_index_module_type_get($index);

Comments

cpliakas’s picture

Issue tags: +6.x-2.0-beta4

Tagging for beta4 release.

cpliakas’s picture

Status: Active » Fixed

Completed in commit #282698.

Status: Fixed » Closed (fixed)
Issue tags: -6.x-2.0-beta4

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