[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Webglimpse Home]

Re: One more



Hi Richard

With glimpse, the scope of booleans can be set to either the whole file, or
to each record in the file, delimited by hard returns = "\n" characters.
The -W switch sets it to the whole file, and is on by default in
webglimpse.  If you want to turn it off, try changing this line (around
493) from

 $cmd = "$GLIMPSE_LOC -U -W -j -y $OPT_nonascii $OPT_file $OPT_linenums $
OPT_age $OPT_case $OPT_whole $OPT_errors -H $indexdir " .

to

 $cmd = "$GLIMPSE_LOC -U -j -y $OPT_nonascii $OPT_file $OPT_linenums $
OPT_age $OPT_case $OPT_whole $OPT_errors -H $indexdir " .

Also, double-check that you have hard returns as well as <br>'s separating
the lines in the original file.

Hope that helps...

--Golda

At 08:40 PM 5/24/00 -0400, Richard Dettwyler wrote:
>Hello again. I need an explanation, please. I have a text file database of
>business names, addresses, etc. There are many of them, 41 in Westchester
>County. Each town in the county has ONE file in its directory. By way of
>example, click on this link:
>
>http://www.neighborhoodusa.com/search/ny/westchester/search.html
>
>Now, search for web AND design, leave Partial unchecked and press enter or
>click Submit.
>
>Let's look at the first town listed - ardsley, and its file, called CONTENTS
>
>It appears that, because these four listings are in the same file, and
>because ONE contains both search terms, and all four contain at least ONE
>search term, that all appear. Is this right? Each record appears on only one
>line in the file (they are formatted with <br> to appear more readable). I
>thought that an AND search meant that BOTH search terms had to appear in the
>record, not just in ONE record in a file. There should be only ONE listing
>shown in ardsley, because only one has both search terms in the record.
>
>I need to change this to make it more accurate. Can anyone help?
>
>Thanks for this one too.
>
>Rick Dettwyler
>http://www.NeighborhoodUSA.com - NOW you can find it!
>
>
>
>
>
------------------------------------------------------------
Golda Velez         gvelez@iwhome.com	        520-620-6878
Internet Workshop                          http://iwhome.com
Webglimpse Search Software             http://webglimpse.net
		~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Help organize the world - index your own corner of the web