Re: Rounding dates on sort and filter

2010-01-20 Thread Lance Norskog
: Otis Gospodnetic [mailto:otis_gospodne...@yahoo.com] Sent: Tuesday, January 19, 2010 2:04 PM To: solr-user@lucene.apache.org Subject: Re: Rounding dates on sort and filter Charlie, Query-time terms/tokens need to match what's in your index, and my guess is that if you just altered query-time

Rounding dates on sort and filter

2010-01-19 Thread Charlie Jackson
I've got a legacy date field that I'd like to round for sorting and filtering. Right now, the index is large enough that sorting or filtering on a date field takes 10-20 seconds (unless it's cached). I know this is because the date field's precision is down to the millisecond, and I don't really

Re: Rounding dates on sort and filter

2010-01-19 Thread Otis Gospodnetic
- Original Message From: Charlie Jackson charlie.jack...@cision.com To: solr-user@lucene.apache.org Sent: Tue, January 19, 2010 1:20:02 PM Subject: Rounding dates on sort and filter I've got a legacy date field that I'd like to round for sorting and filtering. Right now, the index

RE: Rounding dates on sort and filter

2010-01-19 Thread Charlie Jackson
Subject: Re: Rounding dates on sort and filter Charlie, Query-time terms/tokens need to match what's in your index, and my guess is that if you just altered query-time date field analysis, you'd get a mismatch. Easy enough to check through Solr Admin Analysis page. Otis -- Sematext -- http