Change to PagedSearchController so that it doesn't lower case query.

This commit is contained in:
briancaruso 2011-11-29 21:41:19 +00:00
parent 1fd2d3198f
commit cc2fc9b01a

View file

@ -428,7 +428,7 @@ public class PagedSearchController extends FreemarkerHttpServlet {
private SolrQuery getQuery(String queryText, int hitsPerPage, int startIndex, VitroRequest vreq) {
// Lowercase the search term to support wildcard searches: Solr applies no text
// processing to a wildcard search term.
SolrQuery query = new SolrQuery(queryText.toLowerCase());
SolrQuery query = new SolrQuery( queryText );
query.setStart( startIndex )
.setRows(hitsPerPage);