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.
To get the ball rolling with Search API support, this patch implements the query debugging block for Search API Solr queries.
Comment | File | Size | Author |
---|---|---|---|
#1 | solr_devel-search_api_support-2056573-1.patch | 4.5 KB | jaydub |
solr_devel-search_api.patch | 4.5 KB | David Lesieur |
Comments
Comment #1
jaydub CreditAttribution: jaydub commentedWhen I tried to apply this patch via git apply -v {patch} I got the following error:
"git diff header lacks filename information when removing 1 leading pathname component"
I've rerolled to add the leading a/ & b/ path prefixes that normally appear when you run git diff and now patch applies cleanly.
Comment #2
David Lesieur CreditAttribution: David Lesieur commentedThe re-roll could have been avoided by adding option -p0 to the patch command.
Comment #3
sluceroThe patch in #1 applied cleanly for me and the debugging functionality with Search API Solr worked great! Thanks!
Comment #4
jaydub CreditAttribution: jaydub commentedRegarding #2 that's true but I was just following the advice of d.o.: https://drupal.org/project/solr_devel/git-instructions
Comment #5
janusman CreditAttribution: janusman commentedLooks good!
Comment #6
janusman CreditAttribution: janusman commentedCommitted to 7.x-1.x