[greenstone-users] Re: querying serach engine while using MGPP with Search Form method

From Katherine Don
DateWed, 04 Jan 2006 15:11:00 +1300
Subject [greenstone-users] Re: querying serach engine while using MGPP with Search Form method
In-Reply-To (20051226090501-31113-qmail-web8408-mail-in-yahoo-com)

This looks ok. you need to make sure that you have the field name
correct. i.e. does DN match the Creator index? You can check what the
author field uses by looking at the html page source, or looking at the
file in the collection: collect/collname/index/build.cfg - indexfieldmap
lists all the fields that were indexed, and what their shortnames are.


Sharad Jadhav wrote:
> Hi,
> I am trying to create a user interface where users can navigate using
> metadata e.g Creator (Author). When a list if title is displayed along
> (AZList) with author, I want to create a hyperlink to author, by
> clicking this link all documents by the corresponding author should be
> displayed. I have tried to do this after getting some references from
> Greenstone Archives Collection, but was not successful.
> Following is the syntax I have tried
> <a
> href=/cgi-bin/library?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-preferences-Kevin+Ollivier--00-0-21-00-0-0-11----0-0-&a=q&a=q&r=1&hs=1&fqa=0&fqv=[dc.Creator]&fqf=DN>[dc.Creator]</a>
> This creates a link, but after clicking Author, search form is
> displayed, with the name of author (as search term) in Title field
> (which is the first field in the search form and author's is the second)
> We are using MGPP as build type with a Search Form option. Is cross
> linking/referencing/querying search engine is possible when using MGPP
> with Search Form option.
> Regards,
> Sharad Jadhav,
> National Insurance Academy,
> Pune 45- India
> sharad7703@yahoo.co.in <mailto:sharad7703@yahoo.co.in>
> Send instant messages to your online friends http://in.messenger.yahoo.com