Search

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2006 09:02 PM
I have 2 content types a A and B. A and B can have many - many relationship. So basically they are connected by an association.
The question I have is, I want to search on some properties of B and then show results showing all A types associated with B.
Any ideas how this can be done?
One idea I had was search on meta data for B and then based on search results, use "Preview in Template" and get all associated A types and show them.
Any idea how to write such a template to get associated items?
Thanks,
The question I have is, I want to search on some properties of B and then show results showing all A types associated with B.
Any ideas how this can be done?
One idea I had was search on meta data for B and then based on search results, use "Preview in Template" and get all associated A types and show them.
Any idea how to write such a template to get associated items?
Thanks,
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2006 03:08 PM
I have a similar issue, did you ever find a solution ?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2007 10:27 AM
Although i haven't tried it, there are APIs for Lucene search in the template model and also you can walk the assocs of a node, so if you perform a search and then walk the assocs of the results you should be able to do this.
Thanks,
Kevin
Thanks,
Kevin
