According to Luc Marent:
> Gilles Detillieux wrote:
> > According to Luc Marent:
> > > Is it possible to
> > > search for documents between day1 (01-05-02) and day2 (17-05-02)
> > 
> > Yes, that's what the startyear etc. input parameters are supposed to do,
> > although you should be using 4-digit years.
> > 
> > > or is it possible to get all documents modified yesterday?
> > 
> > Yes, if startday=-1 you should get all documents modified within the
> > last 24 hours.
> > 
> > > I made a form with input fields startyear, startmonth
> > > startday, endyear, endmonth and endday
> > > but the result is always "no match".
> > >
> > > Any suggestions?
> > ...
> > > Ps: i use htdig 3.1.6 on HP-UX (and Linux)
> > 
> > Hard to say what's going wrong for you without seeing the search form
> > or the parameters that htsearch is getting.  How are you defining these
> > additional input fields?  How do you specify their initial (default)
> > value?
> > 
> > If you set the method in the <form> tag to GET, then run the query,
> > the URL by which htsearch is called will show the parameter values.
> > If you posted that complete URL to the list, it might give us an idea
> > of where the problem may be.
> 
> GET
> 
>/cgi-bin/cgiwrap/~tcit/htsearch?config=portal&method=and&format=short&sort=score&words=&startyear=&startmonth=&startday=-1&endyear=&endmonth=&endday=
> HTTP/1.0"
> 
> same result with
> 
> GET
> 
>/cgi-bin/cgiwrap/~tcit/htsearch?config=portal&method=and&format=long&sort=score&words=&startday=-1

Both of those query strings contain "words=" with no string between the "="
and the "&", meaning no search words are given.  With no words to look for,
the search will always return the "no matches" page.  You need to specify
search words, or if you want to match all documents, use "*" (without the
quotes) as the search word.

See http://www.htdig.org/attrs.html#prefix_match_character

-- 
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)

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
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