Skip to content

Instantly share code, notes, and snippets.

@michfuer
Created April 15, 2021 16:45
Show Gist options
  • Save michfuer/7442723a4fc74b094c0a70d90815066a to your computer and use it in GitHub Desktop.
Save michfuer/7442723a4fc74b094c0a70d90815066a to your computer and use it in GitHub Desktop.
Drupal 7 Apache Solr Pantheon query debug
# Query form location
/admin/config/search/pantheon/query
# Working query string. This will return all documents with node bundle = article, and node title (label) includes the phrase
# 'Foo Bar'. Note the spaces and double quotes must be urlencoded.
# Also the 'fl=*' returns all solr fields on the document. Useful for determining Drupal <-> Solr field mappings.
/select?fl=*&fq=bundle:article%20AND%20label:%22Foo%20Bar%22&wt=json
# Further reading
https://coder1.com/articles/analyze-your-solr-index-pantheon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment