Closed ritunrtc closed 7 years ago
I am having the exact same problem. Only thing different is that I am also using the -f option: php bin/console lucenesearch:crawl -f -v
This happens if the bundle is not configured. Please add a configuration file, for example:
lucene_search:
enabled: true
sitemap:
render: false
fuzzy_search_results: false
search_suggestion: true
seeds:
- 'http://your-domain.dev'
filter:
valid_links:
- '@^http://your-domain.dev.*@i'
view:
max_per_page: 10
crawler:
content_max_size: 4
content_start_indicator: '<!-- main-content -->'
content_end_indicator: '<!-- /main-content -->'
This helped me to get a little further. Now the next exception pops up:
Warning: file_get_contents(/application/var/bundles/LuceneSearchBundle/state.cnf): failed to open stream: No such file or directory
You should check if there is folder called LuceneSearchBundle
in /var/bundles
. If not you should check if the bundle has been installed correctly. (apply the lucene search install button in pimcore extension manager maybe..)
Embarrassing, I was sure I installed it, but you were right. It wasn't installed only activated.
Sorry for that.
Thanks, apart from adding the suggested configuration to /Resources/config/pimcore/config.yml I also had to clear the cache: php bin/console cache:clear --env=dev
Hi, first of all - sorry for re-opening but in my case it needs to be :( I'm running pimcore 5, everything works well and I installed lucene using the composer, activated at the extension manager and so on. I placed the lucene config from above example at src/Appbundle/Resources/config/pimcore/config.yml as suggested but if i start a manual crawl on the console I still having the Error "no valid task iterators defined!"
any ideas ? thanks in advance !
I installed for Pimcore 5 using composer . Activated using extension manager but can't get the crawler to start.
Keep getting error : no valid task iterators defined!
I start the crawler with : php bin/console lucenesearch:crawl -v
Any idea what could be going wrong ?
Thanks!