1

I am using D7, views 3, apache solr views modules. I have created a view with 2 contextual filters for apache solr. I want to view the solr query built using my contextual filters. But the view preview is displaying the text "No query was run".

Is there any way to view the solr query at preview page?

1
  • Often means no results. What are you entering into the contextual filter field in the preview area and what are the contextual filters you have configured? Commented May 6, 2015 at 14:26

1 Answer 1

1

You can use the Devel module, and enable page show devel page query.

Devel:

A suite of modules containing fun for module developers and themers.

  • Helper functions for Drupal developers and inquisitive admins. This module can print a summary of all database queries for each page request at the bottom of each page. The summary includes how many times each query was executed on a page (shouldn't run same query multiple times), and how long each query took (short is good - use cache for complex queries).

  • Also a dprint_r($array) function is provided, which pretty prints arrays. Useful during development. Similarly, a ddebug_backtrace() is offerred. See full demo.

  • Accelerate development of your site or module by quickly generating nodes, comments, terms, users, and more.

1
  • 9
    What do you mean by "enable page show devel page query"? Do you mean "Display query log" on admin/config/development/devel? Commented Jan 2, 2013 at 16:52

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.