Merge r8819 from maint-rel-vivo-1.3

This commit is contained in:
ryounes 2011-07-25 14:20:52 +00:00
parent 3a853c54f8
commit b03c4399c6
2 changed files with 9 additions and 4 deletions

View file

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