Thanks, I'll try it out.

/Henrik


On Mon, Nov 2, 2009 at 8:13 AM, Alexander Burger <a...@software-lab.de> wrot=
e:
> Hi Henrik,
>
>> (rel title =A0 =A0 (+Idx +String)) #
>> ...
>> The +Idx wasn't there when the feeds in question were first created, I
>> added it because I thought it would be necessary or speed things up.
>
> OK.
>
>> (mapc '((F)(put!> F 'title (; F title))) (collect 'fid '+Feed))
>
> This has no effect, because 'put!>' will not modify the object if the
> new value is the current value, and therefore will also not modify or
> create the index as a side effect.
>
>
> The easiest is to use 'rebuild' to (re)build an index:
>
> =A0 (load "lib/too.l")
> =A0 (rebuild (collect 'fid '+Feed) 'title '+Feed)
>
>
>> (mapc show
>> =A0 =A0(solve
>> =A0 =A0 =A0(quote @Str "big"
>> =A0 =A0 =A0 =A0 (select (@Feeds)
>> =A0 =A0 =A0 =A0 =A0 =A0((title +Feed @Str))
>> =A0 =A0 =A0 =A0 =A0 =A0(tolr @Str @Feeds title)))
>> =A0 =A0 =...@feeds ))
>
> This query looks correct.
>
> You could also try to dump the index directly
>
> =A0 (scan (tree 'title '+Feed))
>
> Cheers,
> - Alex
> --
> UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=3dunsubscribe
>
-- 
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

Reply via email to