Forum OpenACS Development: Re: Search package question regarding title of results returned

This seems to be specific to the content-includelet.

Should a content-includelet be searchable? If so, what should the title be. Can the title be set in the cr_reivisions.title attribute?

Shouldn't it just pull the page set title in the results? People don't think in terms of "content includelets", but "pages".
Yes, that would be best. I'll look into this over the weekend (talked to Avni about it).
Sorry, that was meant as a response to Carl's post above.

Dave, the URL that's returned is to the full page. For the purpose of search, from a logical point of view, the content includelet's content is treated as being content within the page. Which is why I agree with Carl as to the title that should be returned.

Internally, of course, search finds the content includelet's content revision. The callback to generate the URL finds the page the includelet's on and returns the URL for that rather than for the includelet itself.