I test it using command line. Which PHP version do you use?
Please also send me your index for testing (possibly problem appears during index creation). With best regards, Alexander Veremyev. > -----Original Message----- > From: hhege [mailto:[EMAIL PROTECTED] > Sent: Saturday, September 22, 2007 2:19 AM > To: [email protected] > Subject: [fw-general] RE: RE: RE: Zend Search Lucene demo - > first Text field not searchable > > > I have not found the problems you suggested. Do you still get > a correct result after refreshing your browser? > > Thanks, > Harry Hege > > > Alexander Veremyev wrote: > > > > ZendFramework-20070918-6394-en.tar.gz is one of the latest > revisions (rev. > > 6394 generated at 09/18/2007). > > > > I checked it with this version, but still have correct result. > > > > There was a bug which produce similar behavior, but it was > fixed long > > time ago (http://framework.zend.com/issues/browse/ZF-955). > > Could I ask you to check that there are no early ZF > versions installed > > in your environment? Please pay attention, that > Zend/Search/Lucene.php > > file is not placed under Zend/Search/Lucene/ folder. > > > > > > With best regards, > > Alexander Veremyev. > > > >> -----Original Message----- > >> From: hhege [mailto:[EMAIL PROTECTED] > >> Sent: Saturday, September 22, 2007 12:13 AM > >> To: [email protected] > >> Subject: [fw-general] RE: RE: Zend Search Lucene demo - first Text > >> field not searchable > >> > >> > >> 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-fie > >> ld-not-searchable-tf4497036s16154.html#a12829029 > >> 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#a12830840 > 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.488 / Virus Database: 269.13.28/1021 - Release > Date: 21.09.2007 14:02 > > No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.13.28/1021 - Release Date: 21.09.2007 14:02
