Hi Ere,
Yes, this works.
Thanks for your reply.
Regards,
Edwin
On 1 July 2016 at 15:00, Ere Maijala wrote:
> You need to make sure you encode things properly in the URL. You can't
> just place an ampersand there because it's the parameter delimiter in a
> URL. If you're unsure, use e.g. http:
You need to make sure you encode things properly in the URL. You can't
just place an ampersand there because it's the parameter delimiter in a
URL. If you're unsure, use e.g. http://meyerweb.com/eric/tools/dencoder/
to encode your search terms. You'll see that "r&d" will become
%22r%26d%22. Esc
Hi,
When I use defType=edismax, and using debug mode by setting debug=True, I
found that the search for "r&d" is actually done to search on just the
character "r".
http://localhost:8983/solr/collection1/highlight?q=
"r&d"&debugQuery=true&defType=edismax
"debug":{
"rawquerystring":"\"r",
If properly escaped ampersand throws parse exception, this could be a bug.
On Saturday, June 18, 2016 7:12 PM, Zheng Lin Edwin Yeo
wrote:
Hi,
It does not work with the back slash too.
But I found that it does not work for defType=lucene.
It will work if the defType=dismax or edismax.
What
Hi,
It does not work with the back slash too.
But I found that it does not work for defType=lucene.
It will work if the defType=dismax or edismax.
What could be the reason that it did not work with the default
defType=lucene?
Regards,
Edwin
On 18 June 2016 at 01:04, Ahmet Arslan wrote:
> Hi
Hi,
May be URL encoding issue?
By the way, I would use back slash to escape special characters.
Ahmet
On Friday, June 17, 2016 10:08 AM, Zheng Lin Edwin Yeo
wrote:
Hi,
I encountered this error when I tried to search with special characters,
like "&" and "#".
{
"responseHeader":{
"st
Hi,
I encountered this error when I tried to search with special characters,
like "&" and "#".
{
"responseHeader":{
"status":400,
"QTime":0},
"error":{
"msg":"org.apache.solr.search.SyntaxError: Cannot parse
'\"Research ': Lexical error at line 1, column 11. Encountered:
after :