Not exactly. I was showing you what my browser displayed. The results behind the browser were: --------------------------------------- (path:co*) (path:contributing path:copyright path:core) <EmptyQuery> ---------------------------------------
I am not sure how svn works, but I am using nightly snapshot code from several days ago in file: ZendFramework-20070918-6394-en.tar.gz I have altered the code slightly to enable me to run PHP5 on GoDaddy.com shared hosting -- with all ".php" references changed to ".php5", and excluding all \Zend subdirectories except for \Search. Hope that helps. Thanks, Harry Hege Alexander Veremyev wrote: > > It must be > --------------------------------------- > (path:co*) > (path:contributing path:copyright path:core) > path:contributing path:copyright path:core > ---------- > > Please let me know, which SVN revision do you use? (it can be optained > with 'svn info' command) > > With best regards, > Alexander Veremyev. > >> -----Original Message----- >> From: hhege [mailto:[EMAIL PROTECTED] >> Sent: Friday, September 21, 2007 10:41 PM >> To: [email protected] >> Subject: [fw-general] RE: Zend Search Lucene demo - first >> Text field not searchable >> >> >> Your test code produced the following result: >> (path:co*) (path:contributing path:copyright path:core) >> >> My original search code was: "$hits = >> $index->find(strtolower($search));" >> >> Thanks, >> Harry Hege >> >> >> Alexander Veremyev wrote: >> > >> > 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: [email protected] >> >> 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 >> > >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Zend-Search-Lucene-demo---first-Text-fie >> ld-not-searchable-tf4497036s16154.html#a12827532 >> 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 > > > -- View this message in context: http://www.nabble.com/Zend-Search-Lucene-demo---first-Text-field-not-searchable-tf4497036s16154.html#a12829029 Sent from the Zend Framework mailing list archive at Nabble.com.
