I'm having some performance problems with a Lucene index comparing the
PHP version to the Java version. I've got 672213 documents and searches
for small results come back very quickly:
$ ./searchtest.php fred
Search in: 0.0557591915131
Hits: 170
When I search for something that returns more results, the time
increases dramatically:
$ ./searchtest.php 'hey there good looking'
Search in: 7.81737494469
Hits: 60847
The Java version of Lucene doesn't have a problem with more results:
$ java -classpath lucene-core-2.2.0.jar:. SearchTest 'hey there good
looking'
Search in: 0.264
Hits: 38494
Is this a known issue? Can someone point me in the direction of fixing
this? I've got a client with a production website getting killed
because they didn't test carefully before deploying.
Kris Jurka