Page 1 of 1

Fulltext search of php site

Posted: Wed May 19, 2010 8:40 am
by vybralk
Hi,
i have site completely written in PHP. Now i want to add fulltext search. My idea how to do it is browse through all pages, save them in mysql database and then using SQL to implement fulltext search. I don't want to reinvent the wheel, i think that there should be easier solution....or no !?

thanks
K

Re: Fulltext search of php site

Posted: Wed May 19, 2010 8:49 am
by cpetercarter
Are your web pages searchable by Google? If they are, the easiest thing is to let Google catalogue your site. Then all you need to do is to provide a Google search box with a "search this site " option. See this.

Re: Fulltext search of php site

Posted: Thu May 20, 2010 2:56 am
by vybralk
google is a option, but i preffer solution not dependent on google indexing as the pages could change quite often and not sure how often google reindex sites.

Re: Fulltext search of php site

Posted: Thu May 20, 2010 4:03 am
by cpetercarter
You can create and submit a sitemap to Google and resubmit every time your site changes. Or, if you run a blog, you can ping Google when you have new material. Google does search very well. Why reinvent the wheel?