Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Sunspot unicode search working locally but not in production
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Bashar Abdullah  
View profile  
 More options Jan 5, 9:01 am
From: Bashar Abdullah <bashar.abdul...@gmail.com>
Date: Thu, 5 Jan 2012 06:01:00 -0800 (PST)
Subject: Sunspot unicode search working locally but not in production
Hi,

I have my app working with Sunspot Solr locally, supporting unicode
with no issues. In production however, with Heroku and Websolr, all
unicode queries return zero results. I have confirmed with Websolr
support I can query directly against their Solr system with unicode
and it works fine. When I query from my production app however, they
saw something like this in the log: q=أرسنا

So it doesn't seem to be related to Websolr. I also tried running the
local app in production mode (pointing to Websolr), and once I do
that, queries return no results again!

I'm wondering if anyone had faced similar problem, and where should I
be looking for answers? I tried to set solr production log level to
INFO or more to see what's being sent to Solr, but for some reason
that's not showing in the server log as well.

Thanks


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nick Zadrozny  
View profile  
 More options Jan 30, 8:12 pm
From: Nick Zadrozny <n...@onemorecloud.com>
Date: Mon, 30 Jan 2012 18:12:51 -0700
Local: Mon, Jan 30 2012 8:12 pm
Subject: Re: Sunspot unicode search working locally but not in production

Hey Bashar,

I saw this one come up again recently. Basically, RSolr isn't setting the
charset in its POST request body, causing Tomcat to interpret it as
ISO-8859-1, resulting in the mangling that you see. There is a fix in RSolr
here which should go out in the next release:

https://github.com/mwmitchell/rsolr/pull/34

In the mean time, you can use the RSolr git repo directly in your Gemfile
to get that fix today.

On Thu, Jan 5, 2012 at 7:01 AM, Bashar Abdullah
<bashar.abdul...@gmail.com>wrote:

--
Nick Zadrozny

http://websolr.com — hassle-free hosted search, powered by Apache Solr


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bashar Abdullah  
View profile  
 More options Feb 8, 6:52 pm
From: Bashar Abdullah <bashar.abdul...@gmail.com>
Date: Wed, 8 Feb 2012 15:52:12 -0800 (PST)
Local: Wed, Feb 8 2012 6:52 pm
Subject: Re: Sunspot unicode search working locally but not in production

Hi Nick,

I didn't see the reply before. The question took time to get posted so
I let it go.

I forgot to mention I'm using Sunspot, but that again might be a
simila issue I need to look into.
Thanks

On Jan 31, 4:12 am, Nick Zadrozny <n...@onemorecloud.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »