View Single Post
  #5 (permalink)  
Old 01-18-2008, 03:25 AM
captainbeef captainbeef is offline
Junior Member
 
Join Date: Jan 2008
Posts: 4
Default

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);
... 
Reply With Quote