[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Website response
- To: Golda Velez <gvelez@tucson.com>
- Subject: Re: Website response
- From: Jeff Mangum <jmangum@tuc.nrao.edu>
- Date: Thu, 16 Sep 1999 00:21:56 -0700 (MST)
- In-Reply-To: Your message of Thursday, September 16, 1999 00:24:25 -0700
- References: <Your message of Wednesday, September 15, 1999 21:12:50 -0700><Your message of Wednesday, September 15, 1999 19:20:20 -0700><Your message of Wednesday, September 15, 1999 14:51:18 -0700><Your message of Monday, September 13, 1999 21:33:59 -0700><199909130352.UAA16964@tucson.com><3.0.2.32.19990913213359.02e38920@tucson.com><3.0.2.32.19990915145118.0073424c@tucson.com><3.0.2.32.19990915192020.02fc2a34@tucson.com><3.0.2.32.19990915211250.02fc1cb4@tucson.com><3.0.2.32.19990916002425.03063e98@tucson.com>
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