-/* $Id: pazpar2.c,v 1.30 2007-01-15 04:34:28 quinn Exp $ */
+/* $Id: pazpar2.c,v 1.31 2007-01-15 05:40:24 quinn Exp $ */
#include <stdlib.h>
#include <stdio.h>
normalize_mergekey(s,
(sk->type == Metadata_sortkey_skiparticle));
cluster->sortkeys[md->sortkey_offset]->text = s;
- yaz_log(YLOG_LOG, "SK Longest: %s", s);
}
}
}
sdata->number.max = last;
}
}
+#ifdef GAGA
if (sk)
{
union data_types *sdata = cluster->sortkeys[md->sortkey_offset];
yaz_log(YLOG_LOG, "SK range: %d-%d", sdata->number.min, sdata->number.max);
}
+#endif
}
else
yaz_log(YLOG_WARN, "Don't know how to merge on element name %s", md->name);
-/* $Id: search.js,v 1.10 2007-01-15 04:34:29 quinn Exp $
+/* $Id: search.js,v 1.11 2007-01-15 05:40:24 quinn Exp $
* ---------------------------------------------------
* Javascript container
*/
"&start=" + document.search.startrec.value +
"&num=" + recstoshow +
"&session=" + session +
- "&sort=title:1" +
+ "&sort=relevance" +
"&block=1";
xshow = GetXmlHttpObject();
xshow.onreadystatechange=show_records;