Skip to main content
Participant
January 19, 2009
Question

Verity Search results page

  • January 19, 2009
  • 1 reply
  • 326 views
I am setting up a verity search for a client and I want it to pull sub-folders. My question is, how do I display the URL path correctly in the root AND in the sub folders so it goes to the right page?

This is what my output looks like:

<CFOUTPUT QUERY="search_results">
<a href="#URL#">#Title#</a><br>
Score: #Score#<p>
</CFOUTPUT>

However, becasue of the sub folders, the URL comes out wrong and ends up taking users to pages that don't exist. What am I missing? Thanks!
This topic has been closed for replies.

1 reply

davidsimms
Inspiring
January 23, 2009
The fix won't be in your output code, but in the indexing of the collection.

Read up on use of the CFINDEX tag at http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p64.htm.