?
Solved

Display collection name in each search result

Posted on 2003-03-13
1
Medium Priority
?
155 Views
Last Modified: 2013-12-24
I have created a search that can go over three different collections. I would like to display in the search results the collection that the result is from.

e.g. the search runs over the internet, intranet, and news items. I would like to be able to display in the result like this:

1. Seniors Tourism (100%)
We will be looking to the seniors market in general, and Seniors Card in particular, to help us raise the profile and performance of Australian tourism product.
(Internet site)

2. Coordinator's Kit (100%)
These guidelines specify the way in which the corporate graphic can be used in conjunction within the website.
(intranet site)

3.  Seniors Invited to Fight Fraud (09-May-2001) (77%)
Toowoomba Seniors Invited to Fight Fraud
(news item)


Right now I have got it to work by looking at the resulting URL, e.g. for news items I look to see if the URL contains '/news/', but is there a better way to do this?

Thanks
- Mal
0
Comment
Question by:mkorotni
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
Malpheus earned 200 total points
ID: 8133912
You could put the collection name in the custom1 or custom2 field of the index. custom1 and custom2 are returned as query columns from a cfsearch.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question