.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

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -