123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383 |
- <?php
- if(preg_match('/.*search\.htm/',$_SERVER['PHP_SELF'])){
- header('location:searchit.php');
- }
- ?>
- <!--
- This is default template file for mnoGoSearch 3.2
- (C) 1999-2002, mnoGoSearch developers team <devel@mnogosearch.org>
- Please rename to search.htm and edit as desired.
- See doc/README.templates for detailed information.
- You may want to keep the original file for future reference.
- WARNING: Use proper chmod to protect your passwords!
- -->
- <!--variables
- # Database parameters are to be used with SQL backend
- # and do not matter for built-in text files support
- # Format (for mnogo-3.2.4 and below): <DBType>:[//[DBUser[:DBPass]@]DBHost[:DBPort]]/DBName/
- # Format (for mnogo-3.2.5+): <DBType>:[//[DBUser[:DBPass]@]DBHost[:DBPort]]/DBName/[?dbmode=mode]
- DBAddr mysql://db_user:db_pass@db_host/db_name/?dbmode=single
- # Uncomment this line to enable search result cache
- #Cache yes
- # Uncomment this line if you want to detect and show clones
- #DetectClones yes
- # Use proper local and browser charsets
- # Examples:
- LocalCharset iso-8859-1
- BrowserCharset iso-8859-1
- #LocalCharset utf-8
- #BrowserCharset utf-8
- #LocalCharset koi8-r
- #BrowserCharset koi8-r
- # For cache mode and built-in database
- # you may choose alternative working directory
- #VarDir /usr/local/mnogosearch/var
- # Load stopwords file. File name is either absolute
- # or relative to /etc directory of mnoGoSearch installation.
- #
- #StopwordFile stopwords/en.sl
- #StopwordFile stopwords/ru.sl
- #
- #IspellUsePrefixes yes/no
- # a newer mnogosearch-3.2.x ispell affix commands
- #Affix en us-ascii /opt/udm/ispell/en.aff
- #Affix ru koi8-r /opt/udm/ispell/ru.aff
- #Spell en us-ascii /opt/udm/ispell/en.dict
- #Spell ru koi8-r /opt/udm/ispell/ru.dict
- # Word lengths
- MinWordLength 1
- MaxWordLength 32
- #
- # How to hilight searched words.
- #
- #HlBeg <font color="000088"><b>
- #HlEnd </b></font>
- HlBeg <hl>
- HlEnd </hl>
- # Load synonyms file. File name is either absolute
- # or relative to /etc directory of mnoGoSearch installation.
- #
- #Synonym /opt/udm/synonym/english.syn
- #Synonym /opt/udm/synonym/russian.syn
- #Synonym /opt/udm/synonym/francais.syn
- #Alias <find-prefix> <replace-prefix>
- #Alias http://localhost/ http://server.domain/
- # Grouping results by site (requires mnogosearch-3.2.7+)
- # GroupBySite yes
- # Uncoment this line to change default maximal excerpt size. Default value is 256
- # (requires mnogosearch-3.2.16+)
- ExcerptSize 512
- #
- # Uncomment this line to change number of characters before and after search words
- # in excerpts. Default value is 40.
- # (requires mnogosearch-3.2.16+)
- ExcerptPadding 128
- #
-
- # Uncomment this line to change Last-Modified format output
- # Use strftime function meta variables
- #DateFormat %d %b %Y %X %Z
- # Uncomment to limit maximum number of results
- ResultsLimit 1000
- # Uncomment this line if you want to generate misspelled
- # search word suggestions. You need to run "indexer -Ewrdstat"
- # before using this feature.
- #
- #Suggest yes
- #-------------------------------------------------
- # obsolete (mnogosearch-3.1.x or 3.2 old versions specific parameters)
- # Choose storage mode (for mnogosearch-3.2.4 or earlier):
- #DBMode single
- #DBMode multi
- #DBMode crc
- #DBMode crc-multi
- #DBMode cache
- # Uncomment this line to enable query tracking facility
- # Use trackquery parameter in DBAddr command if using with mnogosearch-3.2.13+
- #TrackQuery yes
- #IspellMode text
- # Uncomment if index was built with phrase support
- #Phrase yes
- # Load stopwords from SQL table
- #StopwordTable stopword
- # old mnogosearch-3.1.x ispell affix commands
- #Affix en /opt/udm/ispell/en.aff
- #Affix ru /opt/udm/ispell/ru.aff
- #Spell en /opt/udm/ispell/en.dict
- #Spell ru /opt/udm/ispell/ru.dict
- # Searchd address - only for mnogosearch - 3.2.3 or earlier !
- #SearchdAddr localhost
- # Uncomment this line to enable document presence check at stored
- # (not used with mnogosearch-3.2.16+)
- #StoredAddr localhost
- # URL basis for storedoc.cgi
- # (not used with mnogosearch-3.2.16+)
- #StoredocURL /cgi-bin/storedoc.cgi
- -->
- <!--top-->
- <results>
- <!--/top-->
- <!--stored-->
- <cached>
- <cached_href>$(storef_href)</cached_href>
- </cached>
- <!--/stored-->
- <!--site_limit-->
- <more_results_from_this_site>$(sitelimit_href)</more_results_from_this_site>
- <limit_per_site>$(PerSite)</limit_per_site>
- <!--/site_limit-->
- <!--clone-->
- <clone>
- <clone_du>$DU</clone_du>
- <clone_dc>$DC</clone_dc>
- <clone_dm>$DM</clone_dm>
- <clone_ds_byte>$DS</clone_ds_byte>
- </clone>
- <!--/clone-->
- <!--restop-->
- <search_info>$W</search_info>
- <search_term>$(WS)</search_term>
- <query>$Q</query>
- <num_found>$t</num_found>
- <search_time>$SearchTime</search_time>
- <!--/restop-->
- <!--res-->
- <result>
- <result_dn>$DN</result_dn>
- <result_du>$DU</result_du>
- <result_dt>$DT</result_dt>
- <result_dr>$DR</result_dr>
- <result_pop_rank>$(Pop_Rank)</result_pop_rank>
- <result_de>$DE</result_de>
- <result_dx>$DX</result_dx>
- <result_dud>$DUD</result_dud>
- <result_dc>($DC)</result_dc>
- <result_dm>$DM</result_dm>
- <result_ds>$DS</result_ds>
- <result_cl>$CL</result_cl>
- <result_stored>$(STORED)</result_stored>
- <result_sitelimit>$(SITELIMIT)</result_sitelimit>
- </result>
- <!--/res-->
- <!--ftpres-->
- <result>
- <result_dn>$DN</result_dn>
- <result_du>$DU</result_du>
- <result_dt>$DT</result_dt>
- <result_dr>$DR</result_dr>
- <result_pop_rank>$(Pop_Rank)</result_pop_rank>
- <result_de>$DE</result_de>
- <result_dx>$DX</result_dx>
- <result_dud>$DUD</result_dud>
- <result_dc>($DC)</result_dc>
- <result_dm>$DM</result_dm>
- <result_ds>$DS</result_ds>
- <result_cl>$CL</result_cl>
- <result_stored>$(STORED)</result_stored>
- <result_sitelimit>$(SITELIMIT)</result_sitelimit>
- </result>
- <!--/ftpres-->
- <!--resbot-->
- <result_v>$V</result_v>
- <!--/resbot-->
- <!--restop-->
- <search_info>$W</search_info>
- <search_term>$(WS)</search_term>
- <query>$Q</query>
- <num_found>$t</num_found>
- <search_time>$SearchTime</search_time>
- <!--/restop-->
- <!--res-->
- <result>
- <result_dn>$DN</result_dn>
- <result_du>$DU</result_du>
- <result_dt>$DT</result_dt>
- <result_dr>$DR</result_dr>
- <result_pop_rank>$(Pop_Rank)</result_pop_rank>
- <result_de>$DE</result_de>
- <result_dx>$DX</result_dx>
- <result_dud>$DUD</result_dud>
- <result_dc>($DC)</result_dc>
- <result_dm>$DM</result_dm>
- <result_ds>$DS</result_ds>
- <result_cl>$CL</result_cl>
- <result_stored>$(STORED)</result_stored>
- <result_sitelimit>$(SITELIMIT)</result_sitelimit>
- </result>
- <!--/res-->
- <!--resbot-->
- <result_v>$V</result_v>
- <!--/resbot-->
- <!--restop-->
- <search_info>$W</search_info>
- <search_term>$(WS)</search_term>
- <query>$Q</query>
- <num_found>$t</num_found>
- <search_time>$SearchTime</search_time>
- <!--/restop-->
- <!--res-->
- <result>
- <result_dn>$DN</result_dn>
- <result_du>$DU</result_du>
- <result_dt>$DT</result_dt>
- <result_dr>$DR</result_dr>
- <result_pop_rank>$(Pop_Rank)</result_pop_rank>
- <result_de>$DE</result_de>
- <result_dx>$DX</result_dx>
- <result_dud>$DUD</result_dud>
- <result_dc>($DC)</result_dc>
- <result_dm>$DM</result_dm>
- <result_ds>$DS</result_ds>
- <result_cl>$CL</result_cl>
- <result_stored>$(STORED)</result_stored>
- <result_sitelimit>$(SITELIMIT)</result_sitelimit>
- </result>
- <!--/res-->
- <!--resbot-->
- <result_v>$V</result_v>
- <!--/resbot-->
- <!--clone-->
- <clone>
- <clone_du>$DU</clone_du>
- <clone_dud>$DUD</clone_dud>
- <clone_dc>$DC</clone_dc>
- <clone_dm>$DM</clone_dm>
- <clone_ds_byte>$DS</clone_ds_byte>
- </clone>
- <!--/clone-->
- <!--navigator-->
- <navigator>
- <navigator_nl>$NL</navigator_nl>
- <navigator_nb>$NB</navigator_nb>
- <navigator_nr>$NR</navigator_nr>
- </navigator>
- <!--/navigator-->
- <!--navleft-->
- <navleft>
- <navleft_nh>$NH</navleft_nh>
- </navleft>
- <!--/navleft-->
- <!--navleft_nop-->
- <!--/navleft_nop-->
- <!--navbar1-->
- <navbar1>
- <navbar1_nh>$NH</navbar1_nh>
- <navbar1_np>$NP</navbar1_np>
- </navbar1>
- <!--/navbar1-->
- <!--navbar0-->
- <navbar0>
- <navbar0_np>$NP</navbar0_np>
- </navbar0>
- <!--/navbar0-->
- <!--navright-->
- <navright>
- <navright_nh>$NH</navright_nh>
- </navright>
- <!--/navright-->
- <!--navright_nop-->
- <!--/navright_nop-->
- <!--notfound-->
- <notfound>
- <notfound_search_time>$SearchTime</notfound_search_time>
- </notfound>
- <!--/notfound-->
- <!--error-->
- <error>
- <error_msg>$E</error_msg>
- </error>
- <!--/error-->
- <!--noquery-->
- <noquery>
- <noquery_msg>No search query</noquery_msg>
- </noquery>
- <!--/noquery-->
- <!--bottom-->
- </results>
- <!--/bottom-->
- <!--storedoc_top-->
- <storedoc>
- <storedoc_url>$(URL)</storedoc_url>
- <storedoc_document_id>$(ID)</storedoc_document_id>
- <storedoc_last_modified>$(Last-Modified)</storedoc_last_modified>
- <storedoc_language>$(Content-Language)</storedoc_language>
- <storedoc_charset>$(Charset)</storedoc_charset>
- <storedoc_size_bytes>$(Content_Length)</storedoc_size_bytes>
- <!--/storedoc_top-->
- <!--storedoc-->
- <storedoc_content>$(document)</storedoc_content>
- <!--/storedoc-->
- <!--storedoc_bottom-->
- </storedoc>
- <!--/storedoc_bottom-->
|