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

From PaingThu Chit
DateTue, 3 Apr 2007 09:54:37 +0800
Subject Re: [greenstone-users] about search and scipts.
In-Reply-To (460AE327-5030303-dlconsulting-co-nz)
Hello Richard,
thanks alot for ur help.
I think I have to explain some more. I m doing the collection on tourism information.
when we do searching, we got a list of items that match input criteria. And then when we click on
the link, it will show the doc related to that link. For me, my collection have only images with metadata
set which stored all the necessary information. So when user click on the link, I want to open new page
and show the formated metadata. I think its like shopping cart search result and detail page. I dun have docs to display so I want to open new page and display the metadata information.
I have one more question. Some collections have 2 search forms. normal and  advance. would u pls
guide me how to do that?
with best regards,
On 3/29/07, Richard Managh <> wrote:
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,

DL Consulting
Greenstone Digital Library and Digitisation Specialists

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

_______________________________________________ greenstone-users mailing list

greenstone-users mailing list