Lines 852-864
sub buildQuery {
Link Here
|
852 |
|
852 |
|
853 |
# pass nested queries directly |
853 |
# pass nested queries directly |
854 |
# FIXME: need better handling of some of these variables in this case |
854 |
# FIXME: need better handling of some of these variables in this case |
855 |
if ( $query =~ /(\(|\))/ ) { |
855 |
# Nested queries aren't handled well and this implementation is flawed and causes users to be |
856 |
return ( |
856 |
# unable to search for anything containing () commenting out, will be rewritten for 3.4.0 |
857 |
undef, $query, $simple_query, $query_cgi, |
857 |
# if ( $query =~ /(\(|\))/ ) { |
858 |
$query, $limit, $limit_cgi, $limit_desc, |
858 |
# return ( |
859 |
$stopwords_removed, 'ccl' |
859 |
# undef, $query, $simple_query, $query_cgi, |
860 |
); |
860 |
# $query, $limit, $limit_cgi, $limit_desc, |
861 |
} |
861 |
# $stopwords_removed, 'ccl' |
|
|
862 |
# ); |
863 |
# } |
862 |
|
864 |
|
863 |
# Form-based queries are non-nested and fixed depth, so we can easily modify the incoming |
865 |
# Form-based queries are non-nested and fixed depth, so we can easily modify the incoming |
864 |
# query operands and indexes and add stemming, truncation, field weighting, etc. |
866 |
# query operands and indexes and add stemming, truncation, field weighting, etc. |
865 |
- |
|
|