Hi,
 
I am doing some tests with ZS and cant seem to search the index for numbers, my 
docs are setup like:
 
$this->addField(Zend_Search_Lucene_Field::Keyword('contentID', 
$document->contentID));
$this->addField(Zend_Search_Lucene_Field::UnIndexed('ident',   
$document->ident));
$this->addField(Zend_Search_Lucene_Field::Text('created',      
$document->created));
$this->addField(Zend_Search_Lucene_Field::UnIndexed('teaser',  
$document->teaser));
$this->addField(Zend_Search_Lucene_Field::UnIndexed('state',   
$document->state));
$this->addField(Zend_Search_Lucene_Field::Text('title',        
$document->title));
$this->addField(Zend_Search_Lucene_Field::UnStored('content',  
$document->body));

I have been trying to do a range search on my created field like:

created:[20010101 TO 20080101]

This gave me nothing so I tried:

+2012

Which also gives nothing???

Any idea what I am doing wrong? thx...
 
Keith Pope
Web Developer

--

allpay.net Limited, Fortis et Fides, Whitestone Business Park, Whitestone, 
Hereford, HR1 3SE.

Registered in England No. 02933191. UK VAT Reg. No. 666 9148 88.



Telephone: 0870 243 3434, Fax: 0870 243 6041.

Website: www.allpay.net

Email: [EMAIL PROTECTED]



This email, and any files transmitted with it, is confidential and intended 
solely for the use of the individual or entity to whom it is addressed. If you 
have received this email in error please notify the allpay.net Information 
Security Manager at the number above.

Reply via email to