Hi Jeff, Please don't forget set TextNumeric analyzer as default before indexing and search: ------------------------------------- Zend_Search_Lucene_Analysis_Analyzer::setDefault(new Zend_Search_Lucene_Analysis_Analyzer_Common_TextNum_CaseInsensitive()); ------------------------ With best regards, Alexander Veremyev.
________________________________ From: Jeff Kolber [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 31, 2007 2:36 AM To: Jurriën Stutterheim Cc: fw-general@lists.zend.com Subject: Re: [fw-general] Zend_Search_Lucene Ranged Queries I found that range queries were not working on tokenized fields, at least tokenized fields that were all numeric -- I used fields of type keyword and then found that ranges were working. Jeff Kolber Lead Developer Roubini Global Economics, LLC 131 Varick Street, Suite 1005 New York, NY 10013 Tel: 212-645-0010 Fax:212-645-0023 [EMAIL PROTECTED] http://www.rgemonitor.com/ On Jul 30, 2007, at 2:15 PM, Jurriën Stutterheim wrote: Hi all, I've been trying to get ranged queries to work, but unfortunatly with little success. When I have the following query: published:1995 It successfully lists all books from 1995. But when I have a ranged query it returns 0 hits: published:[1995 TO 1997] What could be the problem? Thanks! Jurriën