<?xml version="1.0"?>
<!-- Generated by the OpenACS Package Manager -->

<package key="search" url="http://openacs.org/repository/apm/packages/search" type="apm_application">
    <package-name>Search</package-name>
    <pretty-plural>Search</pretty-plural>
    <initial-install-p>t</initial-install-p>
    <singleton-p>t</singleton-p>
    
    <version name="5.5.1" url="http://openacs.org/repository/download/apm/search-5.5.1.apm">
        <owner url="http://openacs.org">OpenACS</owner>
        <release-date>2009-06-19</release-date>
        <maturity>3</maturity>
        <summary>Site wide search</summary>
        <vendor url="http://openacs.org">OpenACS</vendor>
        <maturity>3</maturity>
        <license url="http://www.gnu.org/copyleft/gpl.html">GPL version 2</license>
        <description format="text/html">Site wide search implemented with service contracts, currently supports postgres via the tsearch2 driver (OpenFTS still support but deprecated).</description>

        <provides url="search" version="5.5.1"/>
        <requires url="acs-service-contract" version="5.5.1"/>

        <callbacks>
          <callback type="after-instantiate"  proc="search::install::after_instantiate"/>
        </callbacks>
        <parameters>
            <parameter datatype="number"  min_n_values="1"  max_n_values="1"  name="FtsEngineDriver"  default="tsearch2-driver" description="Which search engine driver to use? You should enter the name of the related binding (e.g. openfts-driver, swish-driver,...)"/>
            <parameter datatype="number"  min_n_values="1"  max_n_values="1"  name="PagesPerGroup"  default="10" description="Number of pages in a page group"/>
            <parameter datatype="number"  min_n_values="1"  max_n_values="1"  name="LimitDefault"  default="10" description="Default limit value"/>
            <parameter datatype="number"  min_n_values="1"  max_n_values="1"  name="SearchIndexerInterval"  default="31" description="Interval in seconds for the search indexer to sweep for new or updated items."/>
            <parameter datatype="string"  min_n_values="1"  max_n_values="1"  name="SearchTheWeb"  default="http://av.com/sites/search/web?q=%s AltaVista http://msxml.excite.com/info.xcite/search/web/%s Excite http://www.google.com/search?q=%s Google http://hotbot.com/?MT=%s HotBot http://search.yahoo.com/search?p=%s Yahoo!" description="Search the Web (e.g. Google)"/>
            <parameter datatype="string"  min_n_values="1"  max_n_values="1"  name="Symbol2Interval"  default="m3 {3 month ago} m6 {6 month ago} y1 {1 year ago}" description="Translate symbol to date interval."/>
            <parameter datatype="number"  min_n_values="1"  max_n_values="1"  name="SubsiteSearchP"  default="0" description="If mounted in a subsite should the search be restricted to items in the subsite by default.  Requires that package_id in acs_objects be properly populated."/>
            <parameter datatype="number"  min_n_values="1"  max_n_values="1"  name="Syndicate"  default="0" description="Should syndication data be stored when indexing for search."/>
        </parameters>

    </version>
</package>

