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
Fulltext search of php site
Moderator: General Moderators
-
cpetercarter
- Forum Contributor
- Posts: 474
- Joined: Sat Jul 25, 2009 2:00 am
Re: Fulltext search of php site
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
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.
-
cpetercarter
- Forum Contributor
- Posts: 474
- Joined: Sat Jul 25, 2009 2:00 am
Re: Fulltext search of php site
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?