Re: Multi-faceted searches of articles

Jason <[email protected]> Tue, 08 Sep 2009 14:54:28 +0100
Newsgroups gmane.comp.cms.xaraya.devel
Organization Xaraya
Message-ID <[email protected]>
Expanding this to include searches on date ranges would also be good. The counts
 would need to be done in various contexts for this to work, e.g. counts for
entire years when searching without a date range specified, counts for each
month when a year is specified, counts for the day and/or week when the month is
selected etc.

The counts and facets are all category-based, and it would be extremely
difficult to include non-category items into the facet trees. If done, it is
likely to include multiple hits upon large datasets in the database. One
approach could be to use a hook to pull DD items into the categories when an
item is saved. e.g. the publication date of an article could be converted into
categories '2009', '09' and '08' (in a tree). This would result in many
additional categories being created, but that's the price you pay for
multi-faceted search. I'm sure there are ways around it by flagging some
category bases as user-generated and others as system-generated, and allowing
the user to hide the system-generated categories in the admin screens for
convenience. Anyway - some ideas thrown out there...

-- Jason