Re: [php] static html search engine for php static html site

From: Date: Tue, 27 Dec 2011 01:37:25 +0000
Subject: Re: [php] static html search engine for php static html site
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-316107@lists.php.net to get a copy of this message
the whole site is in php and all content should be searchable. I have tried zoom site search [http://www.wrensoft.com/zoom/] but the result was not good. I just need a simple site search functionality that I can install on a share hosting. it should be able to serach through the whole site files and index it. Do you know you of any pre-made solutions that works? thanks On Mon, Dec 26, 2011 at 11:32 PM, Ashley Sheridan <ash@ashleysheridan.co.uk>wrote: > > > Izo duwa <izoduwa@gmail.com> wrote: > > >The site is not a cms site but static html site, I just want to add > >search > >option to it but needs an alternative to google site search > >integration. i > >cant not use solr because its runing on a share hosting. > > > >thanks > > > >On Mon, Dec 26, 2011 at 9:07 PM, Ashley Sheridan > ><ash@ashleysheridan.co.uk>wrote: > > > >> > >> > >> HELP LINE <izoduwa@gmail.com> wrote: > >> > >> >The site content is not using any database but hardcoded on template > >> >html > >> >and it's runing on a share hosting. But i need the option where user > >> >should > >> >be able to search the site content.. > >> > > >> >On Mon, Dec 26, 2011 at 2:33 PM, Benjamin Hawkes-Lewis < > >> >bhawkeslewis@googlemail.com> wrote: > >> > > >> >> On Mon, Dec 26, 2011 at 1:17 PM, HELP LINE <izoduwa@gmail.com> > >wrote: > >> >> > Does any know of a better static search engine that i can > >integrate > >> >to my > >> >> > static php html site. it should not be Google or yahoo bing. > >> >> > >> >> A search engine cannot itself be static, since it has to process > >> >> variable user input. Though I guess you could generate its indexes > >as > >> >> part of a static build process. > >> >> > >> >> Solr and Sphinx would be examples of FOSS search engines you could > >> >use: > >> >> > >> >> http://lucene.apache.org/solr/ > >> >> > >> >> http://sphinxsearch.com/ > >> >> > >> >> -- > >> >> Benjamin Hawkes-Lewis > >> >> > >> > > >> > > >> > > >> >-- > >> >www.bemycandy.com > >> > >> Please try not to top post! > >> > >> How are the html files created? I assume that the php is creating > >actual > >> html files, as that's the next most likely option if content isn't > >coming > >> from the database. Is it from a cms, and if so, is it a custom one or > >> something that's more mainstream? > >> > >> Thanks, > >> Ash > >> http://ashleysheridan.co.uk > >> > > > Please don't top post. > > What part of the site is in php, or is it only that you want to use php > for the search functionality? > > What have you got so far? Have you written any code, searched for any > pre-made solutions? Have you even thought how you want the search to work, > I.e. order of results, will it ignore certain words, etc? > > Thanks, > Ash > http://ashleysheridan.co.uk >

« previous php.general (#316107) next »