Revision 8678
Added by ben leinfelder over 10 years ago
src/edu/ucsb/nceas/metacat/index/MetacatSolrIndex.java | ||
---|---|---|
124 | 124 |
throw new SolrServerException("MetacatSolrIndex.query - There is no any authorized subjects(even the public user) in this query session."); |
125 | 125 |
} |
126 | 126 |
InputStream inputStream = null; |
127 |
// allow "+" in query syntax, see: https://projects.ecoinformatics.org/ecoinfo/issues/6435 |
|
128 |
query = query.replaceAll("\\+", "%2B"); |
|
127 | 129 |
SolrParams solrParams = SolrRequestParsers.parseQueryString(query); |
128 | 130 |
String wt = solrParams.get(SolrQueryService.WT); |
129 | 131 |
// handle normal and skin-based queries |
Also available in: Unified diff
allow "+" in solr query syntax. https://projects.ecoinformatics.org/ecoinfo/issues/6435