On 8/24/2004 9:28 AM, Simon Cozens wrote:
[EMAIL PROTECTED] (Randy W. Sims) writes:

hmm, are you going to generate multiple indexes? It might be
interesting if we could search over the various fields provided by
META.yml[1]


I am only going to generate one index, but this is because Plucene indexes are
better than you think they are. :)

Plucene allows me to index "documents" with multiple fields, like so:

  type: module
  name: Email::Simple
  category: email
  author: SIMON
  description: ...
  synopsis: ...
  depends: ....
  rating: ...

In fact, I can just index META.yml plus the documentation pretty much as is
and get the data in the right fields. There's a lot more fields you can (and I
will add) of course, such as when the module was released, the license, and so
on.

Very cool. You're right. I was thinking of the old-fashioned type text indexes. I've been doing a little reading on P/Lucene, and it's very exciting.


Oooh, I think I like it
I think I like what I’m feelin’
Even though it’s such a surprise
But you know
Oooh, I think I really like it
I think I like what I feel
And changes really open your eyes
  - Boston, lyrics to "I think I like it"

When you have such an index, to find all the good email handling modules,
search for "category:email rating:4-5". Or "email author:SIMON", it comes to
the same thing. :)

Is that a bug? ;-)

Browsing is just searching metadata.




Reply via email to