Link to home
Create AccountLog in
Avatar of J N
J N

asked on

Internal Website search

Hi,

i want to add a search bar to the top of each page within my website. the website is made up of a combination of php and html. it also has about twenty pages. essentially i would like the user to be able to type any word into the search panel and then be forwarded to a search results pages. within the search results page it would either have a listing of results, an advanced search or no results found. ideally, this search would search through my code and find relevant data. i have looked into items such as sphider but i would like it not to be dependent on sql. i was hoping there is a simply one that i would just have to specify the pages i want to include and then add it to the pages i want the search on.

ideas?
SOLUTION
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of J N
J N

ASKER

i have looked at that and hate how it has adds and branded as google.
No software that I know of does a real-time search function on the web.  It is just too resource intensive.  Google collects all their info with web robots, puts it in their huge databases, organizes it, and returns the results from the database when you make a request.  Search functions on blogs search thru the data in their databases, they don't look at the pages.  And one product site that I maintain keeps a list of keywords in their database as part of the product description so that searches will bring up appropriate products.

I think @padas's suggestion is probably a good one if you don't want to create something your self.
Avatar of J N

ASKER

HI,

thanks that was a good to know. i kind of figured that it would be a tad bit of a resource hog. i do not want to use google. i want it to be completely internal on my website.

so from what i gather i should make some sort of sql database and input data on it and when a user types the data it will request it from the sql?

what should this look like exactly?
The google custom search is a separate entity from the public google search you know.  Google  has eliminated the mini and now only sell the $30K appliance for enterprise and custom search is the low end application.  

The custom search sends a special spider to your designated site/folder and you control how the search results display if you want.  I'm sure bing has something similar.   The thing to remember is you are not going to be able to recreate the functionality of google with a site index or searching your database.  It looks simple that you plug some words in a search box and get some results but what happens from point A to B has years of research that you can't recreate.
ASKER CERTIFIED SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of J N

ASKER

i agree i think sphider is the thing for me!

thanks to both of you