Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have apache solr search integration and facet api installed. I have enabled the filters I wish to use on my search page and when I assign their blocks to a region, they do not appear on my site's search page. Is there a fix for this issue? Thanks.
Comments
Comment #1
cpliakas CreditAttribution: cpliakas commentedHi auraell. I cannot replicate the issue. Are they not showing up when you first visit the search page, or are they not showing up even after a search has been executed?
Thanks,
Chris
Comment #2
auraell CreditAttribution: auraell commentedthey do not show up under either scenario.
Comment #3
cpliakas CreditAttribution: cpliakas commentedOK. Thanks for clarifying. I will try to replicate on a clean install, but if I cannot replicate then we need for you do some additional debugging to figure out the root cause. Generally blocks don't show up due to stale caches or permissions settings in the core block settings form.
Is anyone else experiencing this issue? If so, please post otherwise we will not be able to resolve the problem.
Thanks,
Chris
Comment #4
cpliakas CreditAttribution: cpliakas commentedI just ran into this issue, however it was a problem with one of my custom modules. Do you have any custom code that could be conflicting, or are you trying to extend the Facet API module in any way?
Comment #5
cpliakas CreditAttribution: cpliakas commentedChanging to a bug report, because I have a sneaking suspicion that this is related to #1198350: Facets do not work when block caching is enabled.. Do you have block caching enabled?
Comment #6
cpliakas CreditAttribution: cpliakas commentedI am assuming these are the same issues. Re-open if necessary.
Comment #7
Summit CreditAttribution: Summit commentedHi,
Having latest .dev from Search API, Facet search API, Commerce Search API, Search Range no Facet Blocks are appearing...no block cache...they just do not show.
Setting this to active.
Greetings, Martijn
Comment #8
Summit CreditAttribution: Summit commentedSetting this to latest .dev, just can't get any facet to show in a block..whereever I put the shown facet-blocks in the blocks-admin page. No one is appearing..
I looked at: http://vimeo.com/53404289 but no facets are showing.. Do I miss a library maybe?
Thanks for going into this.
Greetings,
Martijn
Comment #9
smichel CreditAttribution: smichel commentedFWIW, I hit the same issue this morning. I just upgraded to Facet API 7.x-1.3+2, and no facet blocks are showing.
Comment #10
Summit CreditAttribution: Summit commentedHi,
Facets only show on search pages standard I have learned...gr, Martijn
Comment #11
Aniruddhsinh CreditAttribution: Aniruddhsinh commentedI am not sure if this is only the answer for what the question has been asked. But even I was not getting Facet API blocks on my search page and tried lot many things but at last I checked in the configuration what exactly I was missing to do.
Go to adming->config->Apache Solr search->"Settings" tab.
You will get the list and click on "Facet" below Cofiguration.
Now you will be getting the list of items which you want to display.
->enable the item you want to get displayed on the search page.
->put them to panels or into regions where you want to show them.
Hope it will be helpful...
Thanks,
Aniruddhsinh
Comment #12
dedeka CreditAttribution: dedeka commentedYes. I can not believe. All new version of drupalcommerce kickstart doesnt show blocks at all. I add knew taxonomy and nothing. I try evrything and nothing Any help please???
Comment #13
Manollo CreditAttribution: Manollo commented@dedeka I had the same issue using search api with facets. Under "configure filter" in your facets overview you'll find the option to "Hide if no search is performed.". Uncheck that and all your facets will be shown by default.
Cheers!
Comment #14
natuk@Manollo Same problem here, I could not locate the setting you described. Can you be more specific?
EDIT: In my case, rebuilding the Solr index solved the problem.
Comment #15
cpliakas CreditAttribution: cpliakas commentedAfter reading through the issues, it seems the commonality with issues posted after it was re-opened are related to Commerce and Search API.
I have worked the Facet API issue queue for the last few days and can position facets with multiple backends, so I am assuming that this problem would be more prevalent if it was in issue inside of Facet API. I am definitely open to the facet that the issue could be here, however it seems this bug is most likely happening in the module being references in this thread.
Moving queues, please feel free to punt back here if there are specific things found inside of Facet API that are preventing the block from being displayed.
Comment #16
cpliakas CreditAttribution: cpliakas commentedSeems like this could be related to #2269837: Facet API blocks incorrectly hidden due Commerce Search API filter?
Comment #17
scuba_flyI'm having the same issue with a database search backend: search_api_db
facets just won't show up whatever I try.
I'm not using Commerce Search but just installed the search modules:
search_api 7.x-1.12
search_api_db 7.x-1.3
search_api_facetapi 7.x-1.12
search_api_views 7.x-1.12
Comment #18
fox mulder CreditAttribution: fox mulder commented@natuk: the path of settings proposed by @Manollo are here:
admin/config/search/search_api/index/INDEX_NAME/facets
select "configure filters" from drop downs in Operations column
OR
select "Configure facet filters" from contextual links on facet block
Comment #19
fehin CreditAttribution: fehin commentedsorry, wrong issue
Comment #20
thaistore CreditAttribution: thaistore commentedi have the same issue, the facets do not show on other pages then products, and I setup the block option to show on all pages
i do not know what I am doing wrong, but this module is in serious trouble I think
i spend like 5 hours trything to figure out why this is happening
i just gave up,
the option Hide if no search is performed. is of course unchecked.....
damn
Comment #21
andrbmgi CreditAttribution: andrbmgi commentedWe had the same problem: After installing Drupal Commerce Kickstart on our site all the facets vanished. For us the solution was to go into each facet block and just save it without editing anything. Hope this helps anyone.
Comment #22
sopranos CreditAttribution: sopranos commentedhare same, catalog facet does not show up at all, I tried everything, this must be a bug
Comment #23
PeterLrt CreditAttribution: PeterLrt commentedI had the same problem. I added another facet block and all of a sudden my missing facet block appears.
Comment #24
ptocco CreditAttribution: ptocco commentedHere's another post with a patch that might help:
https://www.drupal.org/node/2566329#comment-11475393
I'm attempting to implement this patch hoping to resolve the issue.
Comment #25
gary_master CreditAttribution: gary_master commentedClearing the Drupal cache seemed to work for me!
Comment #26
Romsla CreditAttribution: Romsla commentedI create a search engine for my site based on this video
https://drupalcommerce.org/
Used modules of the latest stable versions.
I have a problem, after having done all the steps as in this video, facet api blocks are not displayed. Is there a fix for this issue? Thanks.
Solution for the problem - add permissions for dbuser:
GRANT CREATE TEMPORARY TABLES ON dbname* TO 'username@localhost'