On Thu, Jul 22, 2004 at 02:40:27PM -0700, Kees Cook wrote:
> On Thu, Jul 22, 2004 at 02:24:17PM -0700, Bill Moseley wrote:
> > No. The way the wild card index works is just like the index in the
> > back of your text books -- arranged alphabetically. Imagine someone
> > asking you to look up in that index all words that end in "ing" --
> > the words are not organized that way.
>
> Well, by "brute force" I meant, I'd be happy to code up a hack just for
> myself that would examine every word in the index and check their endings,
> for example. Roughly were in the code would I look for doing that kind of
> thing?
I doubt it's a matter of a few lines of code. Well, maybe. You would
have to create a new index that also contains the actual words for the
index with the words in reverse order.
> Or, worst case, is there a way I can get swish-e to dump the list of all
> words associated with a certain meta name?
You can get swish-e to dump all its words. Play with the -T options
(on a small index first).
> Hm, I've worked around this by doing a*, b*, ... z* all OR'd together. :)
I'll bet that's fast.
--
Bill Moseley
moseley@hank.org
Unsubscribe from or help with the swish-e list:
http://swish-e.org/Discussion/
Help with Swish-e:
http://swish-e.org/current/docs
swish-e@sunsite.berkeley.edu