Hi Andrew,

Just fixed this. Great thanks!

I don't understand, how it came there, but it really was 1-7 :)


With best regards,
   Alexander Veremyev.

Andrew Craft wrote:
Hi,

We are having a problem retrieving some data from the index. We are
searching on dates in the format 20070829 using
Zend_Search_Lucene_Analysis_Analyzer_Common_TextNum_CaseInsensitive as the
analyzer. When we do a search zeros, 8 and 9 are stripped from the query
making them not work at all. Changing the regex in
Zend_Search_Lucene_Analysis_Analyzer_Common_TextNum.php on line 74 from
/[a-zA-Z1-7]+/ to /[a-zA-Z0-9]+/ resolves the issue.

I am wondering if is a bug or is something else happening that I am not
aware of.

TIA,

Andrew

Reply via email to