External Verity search using k2 adaptor

2 views
Skip to first unread message

Reddotter

unread,
Jan 7, 2007, 11:05:37 PM1/7/07
to RedDot CMS Users
I am trying to get the search context returned from an external k2
verity search via a liveserver dynament call. The verity search
collection is one that has been generated using verity webspider
"Vspider".

The query I am executing is

<rde-dm:query repository="ten_external" tag="search-results-ext"
item-tag="hit" context-mode="mixed"
metainfo="score;title;Title;Subject;Author;Keywords;MIME-Type;VLang;Charset;To;NewsGroups;PageMap;Size;Created;Date;DOC;Target;Context;context;VDKPBSUMMARYDATA;VDKSUMMARY;_CACHE_FN;_PARTDESC;DOC;Ext"
include-mode="context-tags;context-tags;content-info;metainfo"
context-tags="title;context-tags;content-info;content;context;Context;external-context"
highlight="yes" chunk="[#request:content-chunk#]"
chunksize="[#request:content-chunksize#]">

<rde-dm:query-verity>

<![CDATA[ [#request:search-text#] ]]>

</rde-dm:query-verity>

</rde-dm:query>

And getting the result is below, but no context as the VDKSummary is
generated at indexing, and has no relevance for the actual search (ie
search for something different and the same summary will be returned).
Just after something like to add in the dynament query tag like
context-tags="search_context;...." But just can't find the actual
name to put in there. If anyone can let me know what attributes to set
in the query code, would be greatly appreciated, as there is a
bottleneck with getting ten to go with the External search L

Thanks


<!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!>
<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE dynaments>

<dynaments rde-rd:content="verity-content-search-ext.xml"
rde-rd:datalanguage="en" rde-rd:leasingtime="0" rde-rd:locale="en"
rde-rd:project="ten" rde-rd:rdeContentType="0"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:rde-dm="http://www.reddot.de/rde/ns/dm"
xmlns:rde-fdl="http://www.reddot.de/rde/ns/fdl"
xmlns:rde-idea="http://www.reddot.de/rde/ns/idea"
xmlns:rde-rd="http://www.reddot.de/2000/rde/rd"
xmlns:rde-rdf="http://www.reddot.de/rde/ns/rdf"
xmlns:rde-xmaps="http://www.reddot.de/rde/ns/xmaps"
xmlns:rdf="http://www.w3.org/TR/REC-rdf-syntax/"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsl-template="http://www.reddot.de/rde/ns/template">
<search-results-ext chunk="1" chunksize="10"
context-mode="mixed"
context-tags="title;context-tags;content-info;content;context;Context;external-context"
error="0" external-only="no" highlight="yes" hits="500"
include-mode="context-tags;context-tags;content-info;metainfo"
lastchunk="50" locale="en" maxhits="500"
metainfo="score;title;Title;Subject;Author;Keywords;MIME-Type;VLang;Charset;To;NewsGroups;PageMap;Size;Created;Date;DOC;Target;Context;context;VDKPBSUMMARYDATA;VDKSUMMARY;_CACHE_FN;_PARTDESC;DOC;Ext"
nextchunk="2" project="ten" repository="ten_external"
searchengine="verity_k2">
<hit constraints="not-evaluated" hit="1"
locale=""
name="http://myidol.australianidol.bigpond.com.au/search/SearchResults.aspx?u=4462&amp;o=DateDescending&amp;PageIndex=4@ten_external"
project="ten_external">
<VLang>en</VLang>
<title>Australian Idol</title>
<Date>2007/01/02 02:53:54</Date>
<Author />
<Keywords />
<To />
<VDKSUMMARY>Which Impulse Groove Are You? what
was i suppose to write about??? You were supposed to write about
Australian Idol. Australian Idol® produced by Grundy Television PTY
Limited, a FremantleMedia Company, for Network Ten based on the format
owned by FremantleMedia Ltd and 19 TV Ltd. © 2006 Grundy Television
Pty Limited Australia and New Zealand © 2006 FremantleMedia Ltd, rest
of the World.</VDKSUMMARY>
<Context />
<NewsGroups />

<DOC>http://myidol.australianidol.bigpond.com.au/search/SearchResults.aspx?u=4462&amp;o=DateDescending&amp;PageIndex=4</DOC>
<score>1.0000</score>
<Charset>utf8</Charset>
<Size>70405</Size>
<_PARTDESC />
<context />
<Subject />
<VDKPBSUMMARYDATA />
<Title>Australian Idol</Title>
<Ext>aspx</Ext>


<_CACHE_FN>/opt/verity/k2_61/data/jobs/ten_external_job/subjob00/temp/temp0/nbm000ow.tmp</_CACHE_FN>
<Created>2007/01/02 02:51:54</Created>
<Target />
<MIME-Type>text/html</MIME-Type>
<PageMap>0x</PageMap>
</hit>
.....
<rde-dm:query-verity>
<![CDATA[idol]]>
</rde-dm:query-verity>
<rde-dm:query-cis>
<![CDATA[idol]]>
</rde-dm:query-cis>
</search-results-ext>
</dynaments>

Reply all
Reply to author
Forward
0 new messages