Re: [greenstone-users] about search and scipts.

From Richard Managh
DateThu, 29 Mar 2007 09:50:31 +1200
Subject Re: [greenstone-users] about search and scipts.
In-Reply-To (8ace54810703270003n1784a09bkc4b3a8850d30830b-mail-gmail-com)
Hi PaingThu Chit,


You can use fielded searching for this. Add something like the following to your collect.cfg file:

buildtype       mgpp
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,

Richard.
-- 
DL Consulting
Greenstone Digital Library and Digitisation Specialists
contact@dlconsulting.com
www.dlconsulting.com

PaingThu Chit wrote:
hello all,
 
  I have some questions to asks.. These are:
 
1. I want to do the searching by  2 criteria .. like results must be like this and and must not be like that.
2. how am i support to change the condition type like OR, AND or NOT OR in my search page.
3. in my search page I show some general info such as title, description,location. and when I click on the title
   I want to open new pages with the detail metadata of the title.
 
Note: I dun have any documents like html, words or pdf. I only have images with metadata. so I want to populate the metadata on greenstone interface without using documents. I tried and still no idea how to do those. So pls guide me how to do those things.
Thanks in advance.
 
with best regards
  Paing.

_______________________________________________ greenstone-users mailing list greenstone-users@list.scms.waikato.ac.nz https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users