lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: QParser parsing date into unix timestamp format
Date Fri, 17 Jan 2014 22:40:08 GMT

: rather than seconds.  This is how Java deals with time internally.  I'm fairly
: sure that this is also how Solr's date types work internally.

More specifically: the QParser is giving you that query, because the 
FieldType you have for the specified field (prbably TrieDateField) is 
parsing the low & high end points specified in the RangeQuery in order to 
determine what underlying index terms should be used for hte query.

if you had a StrField that you were using to keep raw strings in, and it 
just so happened that you were using it to index formatted dates (but 
nothing in your solr config knew about that) then you'd get a string based 
range query using the raw strings you pass in.

maybe you should backup and tell us more about your schema and your data 
and what you are doing in your custom request handler so we can understand 
if what you are describing is even a problem, or if you are just having a 
missunderstanding of what you are seeing in the debug output?

https://people.apache.org/~hossman/#xyproblem



-Hoss
http://www.lucidworks.com/

Mime
View raw message