0

Zend_Lucene を使用してテキスト ファイルを検索しています。

$index = Zend_Search_Lucene::create ('cachedir');
$doc = Zend_Search_Lucene_Document_Html::loadHTML (file_get_content('source.html'), false, 'UTF-8');
$index->addDocument($doc);
$hit = $index->find(findmeeeh);

これは機能しますが、インデックスを使用していないようです。私が欲しいもの: 単語を検索する場合、これは索引付けされ、より速く見つける必要があります。彼らがここに何を書いているのか理解できませんhttp://framework.zend.com/manual/en/zend.search.lucene.index-creation.html ...

4

0 に答える 0