According to Dave Salisbury:
> I'd like to be able to preserve the user's state, held in the query string,
> when a search is done.
> So my idea is to return just the urls from a search 
> that only match the state
> of the user.  Basically, we have a ?lang=en  or ?lang=fr, and since many
> of our pages are not translated yet, it's the same page regardless
> of the language they ask for..  So most searches will return 2 pages, 
> ( the same page, but the urls differ in the query string )
> one for english ( ?lang=en ) and one for french ( ?lang=fr )
> I would like for the search to only return one or the other, 
> even though both should be indexed.
> 
> Something like a bad_querystr attribute, would help, 
> but that is only for the indexing, not
> for searching.  For searching, I'd need to set this unknow 
> attribute dynamically.  Is it possible to have 2 databases,
> and switch between them dynamically?
> 
> Is there a way to do this?
> Do I need to do my own parsing of the output?
> 
> dave

Have you looked into the restrict and exclude input parameters to htsearch?
See http://www.htdig.org/hts_form.html

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

_______________________________________________
htdig-general mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to