Building search to the website - php

I have a website which has about 200 to 300 static public pages. I am required to bring about some kind of search functionality on the website which will search all of its public pages. I don't want to use external tools like Google site search, etc. Is there a tool or open source code that will index the content and then display the search results? I am looking for a tool that will maintain its own index and run on the server along with the website. If I can add items to the index and manage it that would be a plus. I have looked at Zend Search Lucene, if there is a tool out there, I am hoping to use it before I make one myself.

Zend_Search_Lucene is a very good choice. It is compatible with the Java version of Lucene (I mean the index files). It can index html documents, it's quite simple to use and configure and has a good documentation.
Using Solr as a service is an option as well.
Sphinx is another tool you might want to look at.

You can try -
Sphider is a lightweight web spider and search engine written in PHP, using MySQL as its back end database. It is a great tool for adding search functionality to your web site or building your custom search engine. Sphider is small, easy to set up and modify, and is used in thousands of websites across the world.
http://www.sphider.eu/

Related

Implementing a search feature for multiple websites, is Apache Solr a good choice?

I am currently managing a website where those without any web experience can create their own basic multipage website. The site also offers additional 'widgets' that can be placed onto a site to provide interactive features such as comments etc.
We are looking into adding a search widget where the customer can place a search onto their website and it will search all content within their own website including the other 'widgets' that have been used (The individual page content is basic html and the widgets data for all users is stored in a single database).
For this we have looked into a number of options on how to do the indexing and searching and have came down to the following options: PHP Zend Lucene or Apache Solr.
We feel Zend Lucene will not be able to achieve what we need, mostly because some of these websites are hosted remotely but use widgets loaded through the main website. Also if we used a single index this could potentially have over 300,000 documents indexed and as I hear Zend Lucene is not good for performance.
Apache Solr seems like the preferred choice. However I have some questions regarding the setup of this and 'multiple' sites.
Would it be better to have just a single index and have some unique identifier for each document indexed by a site, then when searching we can use this identifier to restrict to documents from that site.
Or would it be better to have multiple indexes?
Or is there a better option that we have overlooked?
I am still open to suggestions at this point of how we can implement this if you think you know of a better approach.
Regarding performance, Solr has many of Lucene caching and other optimized parameters. Most people think Zend Lucene is slower than Java Lucene, so your choice might be to use SOLR, but this really depends on the specific application and server resources.
Check this good previous post : Zend_Search_Lucene vs SOLR
You might want to look at Apache Nutch, which provides web crawling on top of Lucene's search engine.

Custom Search Engine on Zend Framework

We are building a Social Networking website and there are videos, user profiles and other details on the site. The site is developed using Zend Framework. It needs to develop a Site Search Engine feature on this site. It need to index all data in the website and search against that data.
I checked Sphider but it is not easy to use in Zend Framework. And I tried Sphinx but that needs lot of configuration from Terminal. Next I tried is Zend Lucene Component and it works. But I couldn't display the Videos or Profile Image on the result set.
Please suggest an easy but powerful method to build a Custom Search Engine inside website built on Zend Framework.
You should have a look at setting up a Solr search server. It is a Lucene implementation, but scales incredibly well. From my understanding Zend's Lucene implementation, while good for small amounts of data, does not scale well.
There is also a PECL Solr extension for easy access from PHP, regardless of framework.

Web application UI tool to use with PHP

i am new in PHP and i'm just asking what tool can i use to create my webstite using PHP and MYsql as my database so that i don't have to write the HTML code myself some FREE tool that provides drags and drops or something so that i'm concerned only by the business behind each part , PHP work, any help? :)
I have used Eclipse. It is free, it's not WYSIWYG, but it does include very good auto complete features. I'm not sure that you will be able to drag and drop an e-commerce solution, for example, from any editor, but there are plenty of good code samples you can cut and paste and begin to work from there.
You can use this editor: http://en.wikipedia.org/wiki/Quanta_Plus
Have a look at Weebly.
Weebly is an online, free widget-based Web site creator. It uses a widget-style format, allowing
users to create pages with only a few clicks by dragging and dropping
different page elements
You can try it for free, and pay the hosting.
There is no PHP integration support tough.
Agile Toolkit allows you to develop web app without writing HTML, but you still need to write some PHP code and learn. If you are looking for UI-only solutions, look at Drupal.

Good search services for a PHP (CodeIgniter) based job board?

Does anyone know any good 3rd party license based or open source search services (like Yahoo BOSS) that index and search through content?
I'm creating a niche job board in CodeIgniter and I'd rather not have my search be in PHP.
I'd like the service to be customizable enough to support refining content, and location based searching. So a really closed tool might not be the right fit.
Maybe try apache lucene: http://lucene.apache.org/java/docs/
You should try sphider search
you can download sphider folder by
http://www.sphider.eu/download.php
then follow this link for codeigniter
Integrate Sphider search engine with CodeIgniter

search site and web in joomla

We have created a web using Joomla CMS. In this site we want to implement a feature by which a use can search for text in our website as well as on the whole web using some search engine like google or yahoo.
Is there any extension available which will allow one to search web site it is hosted on as well the whole web in a Joomla based web site? The extension should allow user to select as to where they want to search in current web site or the web. Preferred option is a free extension.
I have been searching for something like this for 2 days but have not found one so I am asking for help here.
To provide searches on your website see the MySQL Full-Text Search Functions.
To search the web, just forget about it - you would need to store PB (petabytes) of storage.
Or use Google Custom Search.
I found my answer at: http://extensions.joomla.org/extensions/search-a-indexing/site-search/9011
Thanks everyone for their time.

Categories