In your code, each keyword can only point to one topic, which isn't very helpful.
if you stored a list of topics per keyword it would be much more flexible. As emacs can do everything there are going to be a lot of topics with the emacs keyword ;)
for my $next_keyword ( @{ $next_topic->{keywords} } ) { # Store keyword in index. push @{$keyword{$next_keyword}} , $i; } ...
In reply to Re: Help on a keyword topic index
by RichardK
in thread Help on a keyword topic index
by neilwatson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |