Hi José,
There are two possibilities:
1) As it already was mentioned by Joshua, it's possible to use your
database capabilities for full-text searching or use any other tool.
2) Use Zend_Search_Lucene as full-text index in addition to you
relational database.
It's not data duplication. You can store only index information without
storing field values.
Data from your relational database can be indexed absolutely the same
way you can index filesystem data.
Just use 'SELECT * ...' instead of fread() :)
With best regards,
Alexander Veremyev.
José de Menezes Soares Neto wrote:
I am trying to explain what I want in a simple way...
I want to create a search engine not for files, but for a database with
products. They produtcs will be sorted by date or price.
I want to create a form input for it, but with Zend_Search its possible?
Cause I only found Zend_Search examples for files, not for databases...
Other question:
What is the best way to build an search engine service (like google or
open directory project) using Zend Framework? I would like to storage
100.000.000 records in the database...
Thanks!
----- Original Message -----
*From:* José de Menezes Soares Neto <mailto:[EMAIL PROTECTED]>
*To:* Alexander Veremyev <mailto:[EMAIL PROTECTED]>
*Cc:* [email protected] <mailto:[email protected]>
*Sent:* Monday, April 02, 2007 3:10 PM
*Subject:* Re: [fw-general] search engine
Hi,
But I already have a database, and this article shows how to search
an index created by zend_search_lucene
So, I need to create a index from my database, and this is not what
they explain...
Thanks!
----- Original Message -----
*From:* Alexander Veremyev <mailto:[EMAIL PROTECTED]>
*To:* José de Menezes Soares Neto <mailto:[EMAIL PROTECTED]>
*Cc:* [email protected] <mailto:[email protected]>
*Sent:* Monday, April 02, 2007 1:33 PM
*Subject:* Re: [fw-general] search engine
Hi,
It looks like you need Zend_Search_Lucene component to be used
(http://framework.zend.com/manual/en/zend.search.html).
Some number of Zend Search Lucene tutorials can be found here -
http://www.zftutorials.com/zend-search/
With best regards,
Alexander Veremyev.
José de Menezes Soares Neto wrote:
> hi friends,
> how to create a search engine using zend framework??
>
> i have a database with a lot of products, and when someone type
> "notebook" for example, it searchs title and description fields.
>
> best regards,
>
> José de Menezes