Everything is running smoothly now, I intend to make a write up on the
wiki this weekend maybe on this.
One thing first though, since articles are indexed when they're parsed
and PL isn't doing any kind of sorting automatically on insert then
they should be sorted by date automatically with the la
See my prior post for context.
I've been testing a few different approaches and this is the fastest so far=
:
(de getArticles (W)
(let Goal
(goal
(quote
@Word W
(select (@Wcs)
((word +WordCount @Word))
(same @Word @Wcs word))
Sorry for the spam but the prior listing is not correct, it didn't
manage to return sorted by date, this one does though:
(de getArticles (W)
(let Goal
(goal
(quote
@Word W
@Date (cons (- (stamp> '+Gh) (* 6 31 86400)) (stamp> '+Gh))
(select (@W
On Thu, May 13, 2010 at 09:12:06PM +0200, Henrik Sarvell wrote:
> One thing first though, since articles are indexed when they're parsed
> and PL isn't doing any kind of sorting automatically on insert then
> they should be sorted by date automatically with the latest articles
> at the end of the d