Skip to main content
Inspiring
November 18, 2011
Question

SOLR search results - improving look and feel

  • November 18, 2011
  • 1 reply
  • 1072 views

Our team has been in the process of moving our site search from Verity to Solr.  We are running CF9. I am able to build the collections and search them but have run into a problem.  Hopefully, someone can shed some light on a solution.  We are using cflincludes which can be either cfm or html files.  When the search results are displayed and clicking on one of the links that happen to be one of the included files, none of the css is applied which is usually displayed from the file containing the cfinclude.  Is there a way to have Solr display the link to the file that contains the cfinclude with all the CSS displayed properly as oppopposed to the included file?

    This topic has been closed for replies.

    1 reply

    Inspiring
    November 18, 2011

    If I understand your problem correctly sometimes your Solr search results contain a file which is intended for use as an include rather than a stand alone web page.  If this is the case then the solution would seem to be to structure your content such that include files are not contained within the directories indexed by Solr.

    ronboy30Author
    Inspiring
    November 18, 2011

    Thanks for the response.  You understand the problem precisely.  Unfortunately, the included file is the one that contains most of the content that we need to be indexed. 

    Inspiring
    November 18, 2011

    Wouldn't the content also be found if  a CFM page which incorporates the include file is indexed?