php - Integrating Search-SphinxsearchBundle into Symfony -
i'm using symfony-standard, have installed search-sphinxsearchbundle
i assuming, use it's services in controller, fetch documentation in app/resources/docs, there's index.srt, need know how direct bundle search folder.
i want use query index.srt documentations in app/resources/docs. i'm stuck on app/config/config.yml
sphinxsearch: indexes: - name: books index: - %sphinxsearch_index_books% field_weights: label: 10 content: 5
i'm getting error:
fatal error: uncaught exception 'symfony\component\dependencyinjection\exception\parameternotfoundexception' message 'you have requested non-existent parameter "sphinxsearch_index_pages".' in /usr/local/dev/hris/vendor/symfony/symfony/src/symfony/component/dependencyinjection/parameterbag/parameterbag.php:108 stack trace: #0 /usr/local/dev/hris/vendor/symfony/symfony/src/symfony/component/dependencyinjection/parameterbag/parameterbag.php(234): symfony\component\dependencyinjection\parameterbag\parameterbag->get('sphinxsearch_in...') #1 /usr/local/dev/hris/vendor/symfony/symfony/src/symfony/component/dependencyinjection/parameterbag/parameterbag.php(205): symfony\component\dependencyinjection\parameterbag\parameterbag->resolvestring('%sphinxsearch_i...', array) #2 /usr/local/dev/hris/vendor/symfony/symfony/src/symfony/component/dependencyinjection/parameterbag/parameterbag.php(195): symfony\component\dependencyinjection\parameterbag\parameterbag->resolvevalue('%sphinxsearch_i...', array) #3 /usr/local/dev/hris/vendo in /usr/local/dev/hris/vendor/symfony/symfony/src/symfony/component/dependencyinjection/parameterbag/parameterbag.php on line 108
Comments
Post a Comment