To add search to your OpenEdit site you can run the installer from the update scripts: /openedit/update/index.html Once the update is complete you should have a /search and /base/search directory.
Crawling Your Web Site Links
Edit the /search/search.xml file
<search>
<starturl>http://www.openedit.org/index.html</starturl>
<allow>http://www.openedit.org/</allow>
<allow>http://openedit.org/</allow>
</search>
Scheduling the Crawler
The index tool must be setup to run on a timer. Edit or create a file called /WEB-INF/scheduler.xml :
<configuration>
<action period="24h" startdelay="10m" path="/search/admin/crawl.html" />
</configuration>
You can also force a reindex by going to this path as the administrator: /search/admin/crawl.html
Searching Your Site
The search is triggered from this link /search/query.html that contains a simple query form on it that you can put any place on you web site.
We recommend adding this to your layout files: $pages.include("/search/query.html")
The results page can be customized by copying the /base/search/results.html to the /search/ directory and editing.