Re: Correct to use to store urls (unicode)

2014-01-13 Thread Hakim Benoudjit
Because I only need to retreive the link not search by url. I have already stored product id in an id field. Thanks for your answer Gora! 2014/1/13 Gora Mohanty > On 13 January 2014 00:30, Hakim Benoudjit wrote: > > > > Yep sure. But is it good for me to store a link(http://...) in a solr > >

Re: Correct to use to store urls (unicode)

2014-01-12 Thread Gora Mohanty
On 13 January 2014 00:30, Hakim Benoudjit wrote: > > Yep sure. But is it good for me to store a link(http://...) in a solr > string field? knowing that this field isnt indexed, only stored. Yes, there is no issue. Not sure why they are not indexed, but if that is what you want, ... Regards, Gora

Re: Correct to use to store urls (unicode)

2014-01-12 Thread Hakim Benoudjit
Yep sure. But is it good for me to store a link(http://...) in a solr string field? knowing that this field isnt indexed, only stored. 2014/1/12 Gora Mohanty > On 12 January 2014 20:07, Hakim Benoudjit wrote: > > I have just forget the u'' next to a unicode string :\, > > Heh! Handling of Unic

Re: Correct to use to store urls (unicode)

2014-01-12 Thread Gora Mohanty
On 12 January 2014 20:07, Hakim Benoudjit wrote: > I have just forget the u'' next to a unicode string :\, Heh! Handling of Unicode in Python 2.x is annoying. 3.x is better, but only a little. Off-topic on this list, so I will shut up now. Regards, Gora

Re: Correct to use to store urls (unicode)

2014-01-12 Thread Hakim Benoudjit
I have just forget the u'' next to a unicode string :\, 2014/1/12 Hakim Benoudjit > I can add this link using sunburnt (solr python client) so it can not be > related to solr. > I think you're right it might be a python issue. > > Thanks. > > > 2014/1/12 Gora Mohanty > >> On 12 January 2014 19

Re: Correct to use to store urls (unicode)

2014-01-12 Thread Hakim Benoudjit
I can add this link using sunburnt (solr python client) so it can not be related to solr. I think you're right it might be a python issue. Thanks. 2014/1/12 Gora Mohanty > On 12 January 2014 19:45, Hakim Benoudjit wrote: > > hi, > > > > what's the correct type used to store urls, which can co

Re: Correct to use to store urls (unicode)

2014-01-12 Thread Gora Mohanty
On 12 January 2014 19:45, Hakim Benoudjit wrote: > hi, > > what's the correct type used to store urls, which can contain some > encoded unicode caracters in the form '%'. Because, the > string type returns an error when I try to store these urls. Please provide more details as that should not be

Correct to use to store urls (unicode)

2014-01-12 Thread Hakim Benoudjit
hi, what's the correct type used to store urls, which can contain some encoded unicode caracters in the form '%'. Because, the string type returns an error when I try to store these urls. Btw, I'm using a python client which gives me this error: "'ascii' codec can't decode byte 0xc3".