for (s = sdb->settings[PZ_FACETMAP]; s; s = s->next)
{
const char *p = strchr(s->name + 3, ':');
+ if ( !strncmp(p, ":split:", 7) )
+ p += 6; // PAZ-1009
+ yaz_log(YLOG_DEBUG, "client_has_facet: '%s' '%s' '%s' ",
+ name, s->name, p);
if (p && !strcmp(name, p + 1))
return 1;
}
echo; echo
echo "Second Search"
-curl "localhost:9763?session=1&command=search&query=water&limit=publisher=U.S. G.P.O"
+curl "localhost:9763?session=1&command=search&query=water&limit=publisher%3DU.S.%20G.P.O"
echo; echo
echo "Bytarget"
curl "localhost:9763?session=1&command=bytarget&block=1"
echo; echo
+echo "Termlist"
+curl "localhost:9763?session=1&command=termlist&name=xtargets%2Cseries%2Cpublisher"
+echo; echo
# Kill PZ2
kill $PZ2PID
<metadata name="series_title"/>
<metadata brief="yes" merge="range" name="date" sortkey="numeric" termlist="yes" type="year"/>
<metadata brief="yes" merge="longest" name="publisher" termlist="yes"/>
+ <!--metadata brief="yes" merge="longest" name="publisher" /-->
<metadata name="name_subject"/>
<metadata name="title_subject"/>
<metadata brief="yes" merge="longest" name="note"/>
<metadata name="subject" termlist="yes"/>
<metadata name="series" termlist="yes"/>
+ <!--metadata name="series"/-->
<metadata name="language" termlist="yes"/>
<metadata name="audiencelevel" termlist="yes"/>
<metadata brief="yes" name="brief-156"/>
<set name="pz:cclmap:FromPubYear" target="1986913" value="u=q_FromPubYear"/>
<set name="pz:cclmap:PUBLISHER-NUMBER" target="1986913" value="u=PUBLISHER_NUMBER"/>
<set name="pz:facetmap:split:series" target="1986913" value="facet_17"/>
+ <!--set name="pz:facetmap:series" target="1986913" value="facet_17"/-->
<set name="pz:limitmap:medium" target="1986913" value="ccl:medium"/>
<set name="pz:cclmap:READING-PROGRAM-NAME" target="1986913" value="u=READING_PROGRAM_NAME"/>
<set name="pz:cclmap:NLC-NUMBER" target="1986913" value="u=NLC_NUMBER"/>