Index: trunk/extensions/SolrStore/SolrTalker.php |
— | — | @@ -142,6 +142,8 @@ |
143 | 143 | if ( strpos( $parts[1], '*' ) !== false ) { |
144 | 144 | $parts[1] = strtolower( $parts[1] ); |
145 | 145 | } |
| 146 | + //If we got an "AND" or an "OR" we have to write them upercase |
| 147 | + $parts[1] = str_ireplace( 'and', 'AND', $parts[1] ); |
146 | 148 | |
147 | 149 | //If we have a solrField Match add a ':' (its the Lucene equivalent of '=' ) |
148 | 150 | if ( $solrField ) { |