Closed (fixed)
Project:
Facets
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
6 Nov 2015 at 10:22 UTC
Updated:
25 Nov 2015 at 10:34 UTC
Jump to comment: Most recent
Enabling facet_api without search_api is possible (not marked as dependecy) but it troubles the config screens.
Log:
Got error 'PHP message: Uncaught PHP Exception Drupal\\Component\\Plugin\\Exception\\PluginNotFoundException: "The "search_api_index" entity type does not exist." at /var/www/drupal8/core/lib/Drupal/Core/Entity/EntityTypeManager.php line 130
IRC chat log:
Novitsh: Nick_vh: can facet_api run without search_api?:
Nick_vh: yes, it should be possible to run - but I don’t think it is fully independent yet
@todo
@tocheck
Comments
Comment #2
novitsh commentedComment #3
borisson_We should make sure that facet api also works for core search, so search_api shouldn't be a hard dependency.
Comment #4
marthinal commentedIntegrationTest is using Search API test modules.
So we need to change it.
Also we have a hardcoded usage here:
Comment #5
borisson_The hardcoded usage of search_api is in the SearchApiViews facet source classes, this is ok.
So this means that we should basically only decouple the tests?
Comment #6
marthinal commentedYes. Maybe create a FacetAPI submodule(something like https://www.drupal.org/project/search_facetapi) for the Core Search. And then enable the Core SEarch module +the submodule. In this case we could try to reproduce the current Integration tests but using the Core Search...
Comment #7
borisson_Addded a new issue for creating the core facet source. #2612084: Add a new facet source for drupal core
Comment #9
borisson_Opened up an issue for the test (#2613186: Untangle the integration test from search api). Other remarks from this issue have been fixed. Thanks for the report @Novitsh