Just checked this in my environment. Works as expected.

Could you give a result of the following code:
----------------------------------------------
$query = Zend_Search_Lucene_Search_QueryParser::parse('path:co*');

echo $query->__toString() . "\n";
echo $query->rewrite($index)->__toString() . "\n";
echo $query->rewrite($index)->optimize($index)->__toString() . "\n";
-------------

With best regards,
   Alexander Veremyev.

> -----Original Message-----
> From: hhege [mailto:[EMAIL PROTECTED] 
> Sent: Friday, September 21, 2007 8:02 PM
> To: fw-general@lists.zend.com
> Subject: [fw-general] Zend Search Lucene demo - first Text 
> field not searchable
> 
> 
> Using the ZSL indexing demo with CreateIndex (4/5/07) and 
> search-index.php (11/15/06), I am searching the "contents" 
> and "modified" fields successfully, but having trouble 
> searching the "path" field. The "path"
> field displays in the search output, but it does not seem to 
> be searchable in the usual ways, such as "path:*", 
> "path:*indexsource*", etc.. 
> 
> I believe this may be an addField problem with the first 
> "Text" field in an index. Because, I added Text field "path2" 
> to the demo, and "path2" appears to be functioning normally. 
> --
> View this message in context: 
> http://www.nabble.com/Zend-Search-Lucene-demo---first-Text-fie
> ld-not-searchable-tf4497036s16154.html#a12824622
> Sent from the Zend Framework mailing list archive at Nabble.com.
> 
> 
> No virus found in this incoming message.
> Checked by AVG Free Edition. 
> Version: 7.5.487 / Virus Database: 269.13.27/1020 - Release 
> Date: 20.09.2007 12:07
>  
> 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.487 / Virus Database: 269.13.27/1020 - Release Date: 20.09.2007 
12:07
 

Reply via email to