Change to PagedSearchController so that it doesn't lower case query.
This commit is contained in:
parent
1fd2d3198f
commit
cc2fc9b01a
1 changed files with 1 additions and 1 deletions
|
@ -428,7 +428,7 @@ public class PagedSearchController extends FreemarkerHttpServlet {
|
||||||
private SolrQuery getQuery(String queryText, int hitsPerPage, int startIndex, VitroRequest vreq) {
|
private SolrQuery getQuery(String queryText, int hitsPerPage, int startIndex, VitroRequest vreq) {
|
||||||
// Lowercase the search term to support wildcard searches: Solr applies no text
|
// Lowercase the search term to support wildcard searches: Solr applies no text
|
||||||
// processing to a wildcard search term.
|
// processing to a wildcard search term.
|
||||||
SolrQuery query = new SolrQuery(queryText.toLowerCase());
|
SolrQuery query = new SolrQuery( queryText );
|
||||||
|
|
||||||
query.setStart( startIndex )
|
query.setStart( startIndex )
|
||||||
.setRows(hitsPerPage);
|
.setRows(hitsPerPage);
|
||||||
|
|
Loading…
Add table
Reference in a new issue