1

I have finished writing my own web application now. It is written in PHP with MYSQL DB and I did not use any MVC framework at all. Now I want to add a local search functionality for my app and from looking at the other posts here, Zend_Search_Lucene seems to be a good option for me.

Now if I want to use Zend_Search_Lucene do I have to install the whole Zend framework then re-write my app and adapt them into its MVC framework ?

I am looking to use just the search feature of the framework, and right now I probably do not really mind installing the whole framework, but I surely do if I have to make large-scale changes to my app..

appreciate any answer-suggestion, thx

Benny Tjia
  • 4,853
  • 10
  • 39
  • 48

2 Answers2

4

You can just use the Zend_Search_Lucene package, you don't need to use the whole framework and/or MVC aspect of it. If you don't want to install the whole framework, you have to check package dependencies that Zend_Search_Lucene has. There are some automatic ways of doing this, here are some:

If you google it you'll sure find more.

faken
  • 6,572
  • 4
  • 27
  • 28
1

For the answer to the question: no, you won't have to change it, you may use Zend Framework libraries independently.

I won't give you any tutorials on Lucene, though.

Tomasz Kowalczyk
  • 10,472
  • 6
  • 52
  • 68