Hello all,
I don't get it. Why don't the bools 'and' AND 'or' work when you are searching?
I need to fix this a.s.p. and can't wait for next version.
The code in search.html:
<input type="RADIO" name="bool" value="and" CHECKED> OR connector: <input type="RADIO" name="bool" value="or">
I have try to look it up in search.cgi, but name bool isn't used for the links query:
$link_hits = $linkdb->query ( { query => $query, mh => $mh, nh => $nh, filter => \%filter, ww => $ww } );
In search.pm they are talking about:
# search mode
mode => $SEARCH_MODES{parse},
%SEARCH_MODES = (
and => 0,
or => 1,
# don't bother with substring, if you're going to use that, you might as well use
# parsed string matching
# substring => 2,
phrase => 3,
parse => 4
);
Why isn't this working ? It's a important function for searching and i really need to fix it in this version.
If any has fixed it pleaze tell else i demand GS to fix it in this stable version.
Allready thanks.
Regards Startpoint.
I don't get it. Why don't the bools 'and' AND 'or' work when you are searching?
I need to fix this a.s.p. and can't wait for next version.
The code in search.html:
<input type="RADIO" name="bool" value="and" CHECKED> OR connector: <input type="RADIO" name="bool" value="or">
I have try to look it up in search.cgi, but name bool isn't used for the links query:
$link_hits = $linkdb->query ( { query => $query, mh => $mh, nh => $nh, filter => \%filter, ww => $ww } );
In search.pm they are talking about:
# search mode
mode => $SEARCH_MODES{parse},
%SEARCH_MODES = (
and => 0,
or => 1,
# don't bother with substring, if you're going to use that, you might as well use
# parsed string matching
# substring => 2,
phrase => 3,
parse => 4
);
Why isn't this working ? It's a important function for searching and i really need to fix it in this version.
If any has fixed it pleaze tell else i demand GS to fix it in this stable version.
Allready thanks.
Regards Startpoint.