• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Verity Search results page

New Here ,
Jan 19, 2009 Jan 19, 2009

Copy link to clipboard

Copied

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!
TOPICS
Advanced techniques

Views

275

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jan 23, 2009 Jan 23, 2009

Copy link to clipboard

Copied

LATEST
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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation