|Date||Thu, 29 Mar 2007 09:50:31 +1200|
|Subject||Re: [greenstone-users] about search and scipts.|
Hi PaingThu Chit,|
You can use fielded searching for this. Add something like the following to your collect.cfg file:
If you already have the "buildtype mg" line, you need to change it to "buildtype mgpp" or "buildtype lucene" to support fielded searching
indexes allfields text title description location
For mgpp, you need to specify the fields you want to search on.
levels section document
You need to specify the granularity of the created indexes.
searchtype form plain
This tells greenstone to display the fielded searching form by default on the search page.
That should cover questions 1 and 2. As for question 3, I'm not sure what you mean.
Hope this helps,
-- DL Consulting Greenstone Digital Library and Digitisation Specialists firstname.lastname@example.org www.dlconsulting.com
PaingThu Chit wrote: