Skip to main content
Participant
April 8, 2021
解決済み

Using cfsearch, how to see the actual query sent to the Solr server

  • April 8, 2021
  • 返信数 1.
  • 147 ビュー

Is it possible to see the actual query sent to the Solr server in a log? If yes, where is it located?

    このトピックへの返信は締め切られました。
    解決に役立った回答 BKBK

    The actual query is sent to the Solr server as part of an HTTP GET request. That is, as the query-string. You can see it in the Jetty logs. The default location of the logs is C:\ColdFusion2021\cfusion\jetty\logs (for ColdFusion 2021).

     

    To see the Solr server's response to <cfsearch name="mySearch"> (as a query result-set), simply run:

     

    <cfdump var="#mySearch#">

     

     

     

     

     

    返信数 1

    BKBK
    Community Expert
    BKBKCommunity Expert解決!
    Community Expert
    April 10, 2021

    The actual query is sent to the Solr server as part of an HTTP GET request. That is, as the query-string. You can see it in the Jetty logs. The default location of the logs is C:\ColdFusion2021\cfusion\jetty\logs (for ColdFusion 2021).

     

    To see the Solr server's response to <cfsearch name="mySearch"> (as a query result-set), simply run:

     

    <cfdump var="#mySearch#">