On Tue, 24 Apr 2001, Curtis Ireland wrote:
> Thomas Rabe wrote:
> > is it possible to perform a search with category support (eg by setting
> > categorys in the htdig - metatags)?
> > something like this: if i search for Clinton in category music i want only
> > get results from George Clinton and not Bill ;)
> >
> One possible method would be to create different databases - one for
> each category.

This is a question I've been thinking a lot about, lately, too.  I've
got a rather large category tree, stored in Oracle tables.  Currently,
there are 405 categories, and the tree is 5 levels deep, so I figured
it wouldn't be practical to create a separate htdig database for each
category.

Documents may be "installed" in multiple categories (in completely
different sections of the tree), to facilitate a browsing user's ability
locate the info he's looking for.

The documents are stored on the disk in a directory structure that is
most convenient for the information providers (and librarians).  But
the categories are delivered via dynamic pages that navigate the category
hierarchy.

I'm trying to figure out how to provide an htdig search only of the
branch of the tree that the user is currently viewing, even though the
documents which are in the categories under that tree branch may be
physically located in all kinds of different directories on the disk.

I was thinking along the lines of somehow including a document's
categories in META tags, but I'm not sure how to get htdig to pay
attention to this kind of thing, when returning search results.

For example, a document on Corn Grain Budgets is in these categories:
ir-cg-cr-cb
ir-cg-gr-co
ir-fbmm-bu-cr

Those category specifications represent the path through the tree to
get to the lower level category.  So, the relevant tree branches are:

ir = Information Resources
ir-cg = Crops and Grains
ir-cg-cr = Crops
ir-cg-cr-cb = Crop Budgets
ir-cg-gr = Grains
ir-cg-gr-co = Corn
ir-fbmm = Farm Business Management and Marketing
ir-fbmm-bu = Budgets
ir-fbmm-bu-cr = Crops

So if someone is looking at the ir-cg-cr (Crops) category, and searches
for "corn grain budgets", I'd like the search result to include matching
documents found in the ir-cg-cr category, as well as "lower" categories.

If you've read this far :-) then maybe you're interested in doing the same
type of thing.  I'd sure love to hear if anyone has persuaded htdig to do
this type of "restricting" by using META tags (or any other method!).

If you want to see this category tree in action, visit us at:
http://www.ext.vt.edu/

---
Patrick Robinson
AHNR Info Technology, Virginia Tech
[EMAIL PROTECTED]

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to