RE: Solr language-dependent sort

2013-04-08 Thread Zhang, Lisheng
PAL Sent: Monday, April 08, 2013 1:27 PM To: solr-user@lucene.apache.org Subject: Re: Solr language-dependent sort Hi Lisheng, We did something similar in Solr using a custom handler (but I think you could just build a custom QeryParser to do this), but you could do this in your application as

Re: Solr language-dependent sort

2013-04-08 Thread SUJIT PAL
Hi Lisheng, We did something similar in Solr using a custom handler (but I think you could just build a custom QeryParser to do this), but you could do this in your application as well, ie, get the language and then rewrite your query to use the language specific fields. Come to think of it, th

Solr language-dependent sort

2013-04-08 Thread Zhang, Lisheng
Hi, I found that in solr we need to define a special fieldType for each language (http://wiki.apache.org/solr/UnicodeCollation), then point a field to this type. But in our application one field (like 'title') can be used by various users for their languages (user1 used for English, user2 used i