lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhang, Lisheng" <>
Subject Solr language-dependent sort
Date Mon, 08 Apr 2013 19:28:40 GMT


I found that in solr we need to define a special fieldType for each
language (, 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 it for
Japanese ..), so it is even difficult for us to use dynamical field,
we would prefer to pass in a parameter like 

language = 'en'

at run time, then solr API may use this parameter to call lucene API
to sort a field. This approach would be much more flexible (we programmed
this way when using lucene directly)?

Thanks very much for helps, Lisheng

View raw message