I have a test.

I set up a folder with about 600 text files, and I search them by Windows
Explorer Finder(and other tools,such as UEStudio) with word "shanghai", then
I get 298 files.

But when I use zend_search_lucene to index them, then search it, ONLY get
about 110 hits! Luke tool box through the zend index also gets 110 hits.

I use the demo index script from the Zend framework download. Both of 0.9.3
and 1.0.0 versions were used. But the same WRONG result. I don't know why?

I also tested them with Lucene Java version, and found that it gets the
right result, 298 hits.

Below is my test script in php for creating index file:

http://www.nabble.com/file/p11267602/CreateIndex.php CreateIndex.php 

BTW, I am confusing with the Zend_Search package. Comparing to Java Lucene,
is it SO difficult for us to use?

I hope someone could help me to find the solution. Thanks in advance.

Best Regards,
David
-- 
View this message in context: 
http://www.nabble.com/Zend_search_lucene-indexes-not-RIGHT--tf3969687s16154.html#a11267602
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to