I would also be interested to see what analyzer allows integer searches.
FYI, I used md5 to convert my database key to a unique searchable entry for each index record:
PHP Code:
$index = Zend_Search_Lucene::open($index_path);
$uid = md5($database_id);
$term = new Zend_Search_Lucene_Index_Term($uid, 'uid');
$uid = new Zend_Search_Lucene_Search_Query_Term($term);
$hits = $index->find($uid);
...