def _get_modified_recids_invenio12(from_date):
from invenio.search_engine import search_pattern<EOL>from invenio.dbquery import run_sql<EOL>return set((id[<NUM_LIT:0>] for id in run_sql(<EOL>'<STR_LIT>',<EOL>(from_date, ), run_on_slave=True))), search_pattern<EOL>
Get record ids for Invenio 1.