Skip to content

Instantly share code, notes, and snippets.

@michfuer
michfuer / solr_query_example.txt
Created April 15, 2021 16:45
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