[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Website response



No problem.  Works great now.  -- Jeff

"GV" == Golda Velez <gvelez@tucson.com> writes:

GV> Whoops!  How did that happen?!  Thanks for the catch, its back in now and
GV> safely checked into CVS waiting for the next release.  I'll tell the list
GV> so people can patch it themselves if they want for now.

GV> --G

GV> At 11:41 PM 9/15/99 -0700, you wrote:
>> It seems that glimpse is not being sent the -w switch by default.  I
>> simply filled-in the search field with the string "man" and left all
>> other parameters at their defaults.  Here is what was sent to
>> webglimpse...
>> 
>> http://www.tuc.nrao.edu/cgi-bin/webglimpse/home/tservo/ftp/www?query=man&er
GV> rors=0&age=&maxfiles=50&maxlines=30&maxchars=10000&cache=yes
>> 
>> ...and here is the command that glimpse got based on the return
>> document source (plus the title field)...
>> 
>> <!-- Glimpse command: /opt/local/bin/glimpse -U -W -j -y     -i -0 -H
GV> /home/tservo/ftp/www  'man' | -->
>> <HTML><HEAD><TITLE>Result for query "man"
>> 
>> I guess it has something to do with the QS_whole variable not getting set
>> correctly in webglimpse.  So, I took a look at webglimpse and found
>> that OPT_whole wasn't getting passed in the output $cmd.  Here is what
>> was in the webglimpse cgi script for $cmd...
>> 
>> $cmd = "$GLIMPSE_LOC -U -W -j -y $OPT_nonascii $OPT_file $OPT_linenums
GV> $OPT_age $OPT_case $OPT_errors -H $indexdir " .
>> "$OPT_filter '$QS_query' |";
>> 
>> ...so I just put in the OPT_whole parameter in this string...
>> 
>> $cmd = "$GLIMPSE_LOC -U -W -j -y $OPT_nonascii $OPT_file $OPT_linenums
GV> $OPT_age $OPT_whole $OPT_case $OPT_errors -H $indexdir " .
>> "$OPT_filter '$QS_query' |";
>> 
>> ...and it all seems to work now.  Sorry for the long-winded
>> explananation...
>> 
>> Cheers,
>> 
>> Jeff
>> 
>> 
>> 
>> "GV" == Golda Velez <gvelez@tucson.com> writes:
>> 
GV> No, the -w is for glimpse.  If you are calling it through webglimpse,
GV> check
GV> the source on the results page and make sure the -w switch is being
GV> used on
GV> the glimpse command line.
>> 
GV> If it is being used, then what you're seeing is a bit odd - try
GV> running the
GV> glimpse command on the shell prompt and see if you get the same results.
>> 
GV> --G
>> 
GV> At 08:55 PM 9/15/99 -0700, you wrote:
>>>> ok.  I see no -w switch in the calls to glimpseindex in wgreindex.  I
>>>> have attached wgreindex below fyi.  Should I just add the -w switch to
>>>> wgreindex?  Thanks!
>>>> 
>>>> Cheers,
>>>> 
>>>> Jeff
>>>> 
>>>> 
>>>> "GV" == Golda Velez <gvelez@tucson.com> writes:
>>>> 
GV> That should only happen if you have "partial match" checked, which causes
GV> the -w switch not to be used on glimpse (it is used by default).  If you
GV> are using glimpse directly on the command line, just add the -w. 
>>>> 
GV> --G
>>>> 
GV> At 06:33 PM 9/15/99 -0700, you wrote:
>>>>>> Sorry to have to ask another question, but I am wondering how to index
>>>>>> such that the pattern matching is exact?  For example, if I want to
>>>>>> search for "man", I currently get matches for "mangum" too.  I looked
>>>>>> through the on-line documentation but couldn't find any reference to
>>>>>> this.  Thanks for your help.
>>>>>> 
>>>>>> Cheers,
>>>>>> 
>>>>>> Jeff
>>>>>> 
>>>>>> 
GV> ------------------------------------------------------------
GV> Golda Velez         gvelez@tucson.com	        520-620-6878
GV> Internet Workshop                          http://tucson.com
GV> Webglimpse Search Software             http://webglimpse.net
GV> ~~~~~~~~~~~~~~~~~~~~~~~~~~~
GV> Help organize the world - index your own corner of the web
>>>> 
>>>> 
>>>> 
GV> ------------------------------------------------------------
GV> Golda Velez         gvelez@tucson.com	        520-620-6878
GV> Internet Workshop                          http://tucson.com
GV> Webglimpse Search Software             http://webglimpse.net
GV> ~~~~~~~~~~~~~~~~~~~~~~~~~~~
GV> Help organize the world - index your own corner of the web
>> 
>> 
>> 
GV> ------------------------------------------------------------
GV> Golda Velez         gvelez@tucson.com	        520-620-6878
GV> Internet Workshop                          http://tucson.com
GV> Webglimpse Search Software             http://webglimpse.net
GV> 		~~~~~~~~~~~~~~~~~~~~~~~~~~~
GV>  Help organize the world - index your own corner of the web