According to Jean-Sebastien Morisset: > Anyone? > > Maybe my question wasn't clear enough... I'd like to limit search > results to ONLY documents that contain 2 or more patterns in the URL. > For example: > > htsearch?restrict=some/parm|another&words=whatever...etc. > > Would match the following URLs: > > http://www.somesite.com/?arg=/some/parm/or/other&and=miscstuff > ^^^^^^^^^ > http://www.somesite.com/?arg=/or/other&and=another > ^^^^^^^ > > When in fact, I would like htsearch to return *only* URLs that contain > BOTH patterns. i.e.: > > http://www.somesite.com/?arg=/some/parm/or/other&and=anotherpam > ^^^^^^^^^ ^^^^^^^ > > What do you think? Possible?
Anything is possible with open source. But you'd need to change the source code to accomplish this. The places to change would be Display::includeURL() in htsearch/Display.cc, and Display::setLimit() in htsearch/Display.h. You'd need to use something other than the StringMatch class to implement this test. -- Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/ Dept. Physiology, U. of Manitoba Winnipeg, MB R3E 3J7 (Canada) ------------------------------------------------------- This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive scholarships. Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp _______________________________________________ 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

