On 17-Oct-07, at 1:52 PM, Chris Hostetter wrote:
: However, SolrSharp culture settings should be reflective and
consistent with
: the solr server instance's culture. This leads to my question:
does Solr
: control its culture & language settings through the various language
: components that can be incorporated, or does the underlying OS
have a say in
: how that data is treated?
As a general rule:
1) Solr (the server) should operate as culturally and locally
agnostic as possible.
2) Solr Clients that want to act "culturally appropriate" should
explicitly translate from "local" formats to "absolute"
concepts that
it sends to the server. (ala: the absolute unambiguous date
format)
This is easy--I always convert dates to UTC. Doubly important since
several of our servers operate in different timezones.
Less easy is changing Solr's interpretation of NOW in DateMath to be
UTC. What is the correct way to go about this?
-Mike