You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2010/07/14 01:08:43 UTC
[Solr Wiki] Update of "FunctionQuery" by HossMan
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The "FunctionQuery" page has been changed by HossMan.
The comment on this change is: there is no such thing as a default field type for dates.
http://wiki.apache.org/solr/FunctionQuery?action=diff&rev1=62&rev2=63
--------------------------------------------------
Dates are relative to the Unix or POSIX time epoch, midnight, January 1, 1970 UTC.
- Arguments may be numerically indexed date fields such as !TrieDate (the default in 1.4), or date math (examples in SolrQuerySyntax) based on a constant date or '''NOW'''.
+ Arguments may be numerically indexed date fields such as !TrieDate (recommended field type for dates since Solr 1.4), or date math (examples in SolrQuerySyntax) based on a constant date or '''NOW'''.
Things other than these will _not_ work as arguments. For example, you cannot currently use:
* "classic", non-numerically indexed date fields (i.e. fields backed by DateField or LegacyDateField classes)