Perlfect Solutions
 

[Perlfect-search] A few questions

Daniel Naber perlfect-search@perlfect.com
Thu, 3 Apr 2003 22:35:39 +0200
On Thursday 03 April 2003 21:42, Dave Filchak wrote:

> 1. Can you create an advanced search form that includes a couple of drop
> down menus with predetermined keywords and audiences , that combine once
> selected with the free search box to form a complete search query
> string?

I'm not exactly sure what you're looking for, you can simply change the 
hidden fields to be drop down menus.

> 2. Can you add to this advanced search form the ability for the user to
> choose how the information that is returned is sorted i.e. most
> relevant, last indexed, newest date etc.

You can get fresh documents at the top with a 'penalty' field in the form. 
If that's not enough, it should be easy to change the sort function in 
cast_template() in search.pl to work on the dates instead of the ranking.

Regards
 Daniel

-- 
http://www.danielnaber.de