Mike is talking about solr.py, the python script, I'm talking about
Solr itself.
I think your problem is in the former. You should play around with
unicode in python for awhile. Remember that your terminal itself
probably doesn't support utf-8, the biggest problem I run into is doing
> print utf8string
Python forces you to be good about this stuff, but it's a steep
climb. Google for python unicode and read the various tutorials to
get a handle on it.
-b
On Jun 20, 2007, at 9:38 AM, vanderkerkoff wrote:
Hello Mike, Brian
My brain is approcahing saturation point and I'm reading these two
opinoins
as opposing each other.
I'm sure I'm reading it incorrectly, but they seem to contradict
each other.
Are they?
Brian Whitman wrote:
Solr has no problems with proper utf8 and you don't need to do
anything special to get it to work. Check out the newer solr.py in
JIRA.
Mike Klaas wrote:
Perhaps this is why: solr.py expects unicode. You can pass it ascii,
and it will transparently convert to unicode fine because that is the
default codec. If you end up with utf-8, it will try to convert to
unicode using the ascii codec and fail.
--
View this message in context: http://www.nabble.com/problems-
getting-data-into-solr-index-tf3915542.html#a11213488
Sent from the Solr - User mailing list archive at Nabble.com.
--
http://variogr.am/
[EMAIL PROTECTED]