.net - SolrNet query not working for Scandinavian characters -
when making query through solrnet contains scandinavian characters ø, æ, å query returns no results while queries containing regular words work fine.
the query has been added filterqueries
collection using solrquerybyfield
class values "ss_content" field name , values \"søren\" quoted set false. if test without "" in søren doesn't give results.
when running same query through solr admin page in browser works fine.
am missing configuration in solrnet causing issue?
solr version 3.6 on tomcat 8 , being called .net 4.5 application
any appreciated.
solr admin page query plain html <form method=get action="#">[...]</form>
, meaning browser automatically url-encode input values - why works admin page.
you need url-encode parameter values when forming requests. in .net 4.5 can use webutility.urlencode(string)
.
please try replace "søren"
string webutility.urlencode("søren")
, see if works.
Comments
Post a Comment