On May 9, 6:57 pm, bsmith <[EMAIL PROTECTED]> wrote:
> I have verity collections for a custom type - corporateNews, which is
> set to index:
> corporateNews.Title, corporateNews.Company, corporateNews.Teaser,
> corporateNews.Body
>
> At the moment all of these fields are indexed and returned,
> concatenated it seems, as qFirstResults.summary.
>
> What I'd like is to be able to get the values of these fields
> individually from the verity results - I need to restrict then by
> Company.
>
> I see in the core/packages/farcry/_verity/search.cfm code there are
> custom fields which can apparently achieve this, but I'm at a bit of a
> loss to see how.

This is more of a Verity for CF issue than a FarCry one.  I think as
of 3.02 you can allocate specific properties to populate CUSTOM2,
CUSTOM3 and CUSTOM4 in the Verity collection -- CUSTOM1 is reserved
for typename by FarCry Framework. Essentially you would populate one
of the CUSTOM fields with the company name and then either use
Verity's advanced syntax to filter on that field or do a query of
queries on the search resultset to do the same (less efficient on
large resultsets).

Hope that helps,

-- geoff
http://www.daemon.com.au/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to