Hi Jurriën,
1. What is the result of:
-----------------------------
echo Zend_Search_Lucene_Search_QueryParser::parse('published:[1995 TO
1997]')->rewrite($index)->__toString() . "\n";
-------------
2. It looks like you set TextNum analyzer correctly, but nevertheless I should
ask. Did you set TextNume analyzer as default while you tested range queries?
With best regards,
Alexander Veremyev.
> -----Original Message-----
> From: Jurriën Stutterheim [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 30, 2007 10:15 PM
> To: [email protected]
> Subject: [fw-general] Zend_Search_Lucene Ranged Queries
>
> 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
>