When returning an object reference to a search or a search object itself, the getInputData phase of a map/reduce script is not executing the search if there are no defined columns. Adding a column (such as internalid) will correct this, but without that, the map and reduce phases are not called, even when the only information that they need might be the result id.
I can't find any documentation that would lead me to believe this is intentional. Does anyone know if this is a known defect?