Where are the Zend Lucene index files located?

the first time I indexed my data this way

$index = new Zend_Search_Lucene('/tmp/search_index', true);

This created the tmp / search_index folder in the public folder of my project. After I noticed that something was wrong with the index, I simply deleted the entire file in the search_index folder.

After trying to reindex the data, I realized that the search_index folder is empty. However, the search still yields results. Where are index data stored? This is not in the shared folder ...

+3
source share
1 answer

/tmp/search_indexrefers to the system folder /tmp. Use a different path relative to your application, for example tmp/search_index.

+2
source

All Articles