Couldn't one just make sure that all of the political documents
contained the htdig keyword "politics" and that all of the
"musical" documents had the htdig keyword "music?" Then one could use a
dropdown list to allow users to chose their "category," which would force
htsearch to include the query term and the htdig keyword. 

Eric


[EMAIL PROTECTED] sent this on Apr 24:

>Thomas Rabe wrote:
>> 
>> hi,
>> 
>> 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. Then, it would be just a matter of putting the following
>on your search form:
>
>Category: <SELECT NAME="config">
><OPTION NAME="music">Music</OPTION>
><OPTION NAME="pol">Politics</OPTION>
>...
></SELECT>
>
>Then, it would be just a matter of creating music.conf and pol.conf to
>correspond with the selections. I'm sure there is more information in a
>FAQ somewhere.
>       -C
>
>--
>Curtis Ireland - [EMAIL PROTECTED]
>Solidum Systems - http://www.solidum.com
>(T) (613)724-6004 x284 - (F) (613)724-6008
>
>_______________________________________________
>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
>

  Eric 

--

Eric Luhrs | [EMAIL PROTECTED] | http://ws.bham.ac.uk


_______________________________________________
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