473,398 Members | 2,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Zend Lucene too slow to index question

I have been experimenting with Zend/Php/Lucene.
I have used Lucene extensively as Java in Tomcat Servlets.

Zend's php Lucene works the same way, but it is much slower
to index for some reason--way too slow to ever finish,
when working a moderately sized site--on a shared host.

I could try to figure out how to break the site up into chunks
and then index once and then update many times.

Are there any zippier alternatives to Zend/Lucene?
(google Custom Search give me poor match results).

--
cut the board three times and it's still too short
Aug 24 '08 #1
4 3381
sliverdigger wrote:
I have been experimenting with Zend/Php/Lucene.
I have used Lucene extensively as Java in Tomcat Servlets.

Zend's php Lucene works the same way, but it is much slower
to index for some reason--way too slow to ever finish,
when working a moderately sized site--on a shared host.

I could try to figure out how to break the site up into chunks
and then index once and then update many times.

Are there any zippier alternatives to Zend/Lucene?
(google Custom Search give me poor match results).

....hhmmmmmmmm.
Might have to try making the index with java, and then use
php only for queries. Not sure it's all that compatible.

--
cut the board three times and it's still too short
Aug 24 '08 #2
On 24 Aug, 17:02, sliverdigger <sliverdig...@closenuf.netwrote:
I have been experimenting with Zend/Php/Lucene.
I have used Lucene extensively as Java in Tomcat Servlets.

Zend's php Lucene works the same way, but it is much slower
to index for some reason--way too slow to ever finish,
when working a moderately sized site--on a shared host.

I could try to figure out how to break the site up into chunks
and then index once and then update many times.

Are there any zippier alternatives to Zend/Lucene?
(google Custom Search give me poor match results).
I've never used Lucene to have it to compare to but mnogo is very fast
in my experience. But its mostly written in C - which can be tricky to
install on a shared host (but if they do java....?)

C.
Aug 24 '08 #3
C. (http://symcbean.blogspot.com/) wrote:
On 24 Aug, 17:02, sliverdigger <sliverdig...@closenuf.netwrote:
>I have been experimenting with Zend/Php/Lucene.
I have used Lucene extensively as Java in Tomcat Servlets.

Zend's php Lucene works the same way, but it is much slower
to index for some reason--way too slow to ever finish,
when working a moderately sized site--on a shared host.

I could try to figure out how to break the site up into chunks
and then index once and then update many times.

Are there any zippier alternatives to Zend/Lucene?
(google Custom Search give me poor match results).

I've never used Lucene to have it to compare to but mnogo is very fast
in my experience. But its mostly written in C - which can be tricky to
install on a shared host (but if they do java....?)

C.
Thanks, I'll look at that. Someone did tell me: yes, you
can create the Lucene index with a java application (no worries
about execution time) and then scp it up to the website, and
then query it with Php/Lucene from Zend. So I'll probably do that.

--
cut the board three times and it's still too short
Aug 25 '08 #4
Hi,

sliverdigger wrote:
Are there any zippier alternatives to Zend/Lucene?
(google Custom Search give me poor match results).
Depends. A little bit different approach would be to use YAZ extension
for PHP as communication means to a (independent) Indexdata Zebra
server (which is a Z39.50 based index server, which is really good at
indexing many structured formats, especially XML). But it's certainly
more work than a quickly set up Lucene. Both YAZ and Zebra are GPLed,
but you can get commercial support from Indexdata.

This is e.g. used by the Koha library management software (Free
Software).

-hwh
Aug 26 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Steve Jenkins | last post by:
Hi, Wonder if someone could help me. I'm looking for a PHP/MySQL based search engine that can search flat files i.e. build it's own index from flat files. I've used Apaches' Lucene before...
8
by: Andy Jacobs | last post by:
Evening folks This has probably been asked before so apologies for that. I'm using Dreamweaver for PHP and have been for nearly a year. I've done some stuff that I'm very happy with but I'm...
12
by: Neil | last post by:
I previously posted re. this, but thought I'd try again with a summary of facts. I have an Access 2000 MDB with a SQL Server 7 back end. There is a view that is linked to the database via ODBC...
0
by: the_kiddie98 | last post by:
Hi, I have indexed some information from a database using the dotNet port of Lucene. If I index a field as a keyword then Lucene does not pick it up when searching. If I index the field as text...
4
by: Vic Cekvenich | last post by:
What would be performance of pgSQL text search vs MySQL vs Lucene (flat file) for a 2 terabyte db? thanks for any comments. ..V -- Please post on Rich Internet Applications User Interface...
0
by: dashprasannajit | last post by:
package djvusearching; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import org.apache.lucene.analysis.cjk.CJKAnalyzer; //import...
0
by: hzqij1978 | last post by:
I am a newer of Zend Framework, i write a program to test the speed of Zend Framework, code like this: /var/www/htdocs/index.php <?php require_once 'Zend.php'; require_once...
1
by: keith_rhodes | last post by:
Hi, all. I know that there is a way of using JavaScript to call a Java method, and for the JavaScript to collect some sort of response from the Java, as I had a page working a few years ago that...
0
by: Mirnes | last post by:
I hope someone is using Lucene.net and can help me to make it work since (in my opinion) documentation for Lucene.net is poor or I'm used to different kind of documentation. Can someone explain...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.