Re: [php] static html search engine for php static html site
| From: | Ashley Sheridan | Date: | Mon, 26 Dec 2011 21:07:54 +0000 |
| Subject: | Re: [php] static html search engine for php static html site | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-316102@lists.php.net to get a copy of this message | ||
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