<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Pardon my ignorance, but can you explain a little of what one can do
with your addition here? I mean what kind of functionality does it add
to Xapian?<br>
I have read your posts about it, but don't feel like I've wrapped my
head around it entirely :-)<br>
<br>
Alec<br>
<br>
Rusty Conover wrote:
<blockquote cite="mid5A55DC48-2AD7-4A5B-A670-93C6212EA106@infogears.com"
type="cite">Hi Everybody,
<div><br class="khtml-block-placeholder">
</div>
<div>Here is the first version of my match for an ExternalPostList,
it should apply cleanly to 0.9.5 and 0.9.6.</div>
<div><br class="khtml-block-placeholder">
</div>
<div>You can use it by first implementing an ExternalPostingSource,
then creating a new Query object passing a reference an instance of
your implementation to the constructor, see query.h. The
ExternalPostingSource implementation is reference counted, so when its
no longer needed it can clean itself up.</div>
<div><br class="khtml-block-placeholder">
</div>
<div>It works well for filtering results but it has a problem that
once it filters all of the results are returned with 100%
relevancy. I'm not quite sure how to fix that but I think its because I
just used the default weight implementations in
matcher/externalsourcepostlist.h. Any hints or patches to fix that so
it works correctly would be greatly appreciated. </div>
<div><br class="khtml-block-placeholder">
</div>
<div>Also the use of an ExternalPostList query breaks the network
method of transmitting queries, I haven't written code to serialize the
post list or even decide if that's worth doing.</div>
<div><br class="khtml-block-placeholder">
</div>
<div>I realize there has been some stylistic license taken with the
formatting of this patch. I didn't pay much attention to following
existing indentation and bracket rules and what not. If you're up for
including this into the release branch, I'd be glad to take the time
and clean it up even further.</div>
<div><br class="khtml-block-placeholder">
</div>
<div>Thanks for all of your help,</div>
<div><br class="khtml-block-placeholder">
</div>
<div>Rusty</div>
<div>
<div> <span class="Apple-style-span"
style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Didot; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><span
class="Apple-style-span"
style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Didot; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><span
class="Apple-style-span"
style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Didot; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><span
class="Apple-style-span"
style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><span
class="Apple-style-span"
style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><span
class="Apple-style-span"
style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;">
<div style="font-family: Helvetica;"><span class="Apple-style-span"
style="font-family: Helvetica;"><span class="Apple-style-span"
style="font-family: Helvetica;"><span class="Apple-style-span"
style="font-family: Helvetica;">--</span></span></span></div>
<div style="font-family: Helvetica;"><span class="Apple-style-span"
style="font-family: Helvetica;"><span class="Apple-style-span"
style="font-family: Helvetica;"><span class="Apple-style-span"
style="font-family: Helvetica;">Rusty Conover</span></span></span></div>
<div style="font-family: Helvetica;"><span class="Apple-style-span"
style="font-family: Helvetica;"><span class="Apple-style-span"
style="font-family: Helvetica;"><span class="Apple-style-span"
style="font-family: Helvetica;">InfoGears Inc.</span></span></span></div>
<div style="font-family: Helvetica;"><span class="Apple-style-span"
style="font-family: Helvetica;"><span class="Apple-style-span"
style="font-family: Helvetica;"><span class="Apple-style-span"
style="font-family: Helvetica;">Web: <a
href="http://www.infogears.com">http://www.infogears.com</a></span></span></span></div>
<span class="Apple-style-span" style="font-family: Helvetica;"></span></span>
<div style="font-family: Helvetica;"><br
class="khtml-block-placeholder">
</div>
<span></span></span></span></span></span></span></div>
</div>
<br>
<hr size="4" width="90%"><br>
<div>
<div><span class="Apple-style-span"
style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Didot; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><span
class="Apple-style-span"
style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Didot; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><span
class="Apple-style-span"
style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Didot; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><span
class="Apple-style-span"
style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><span
class="Apple-style-span"
style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><span></span><font
class="Apple-style-span" face="Didot"><br
class="Apple-interchange-newline">
</font></span></span></span></span></span> </div>
<br>
</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Xapian-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xapian-devel@lists.xapian.org">Xapian-devel@lists.xapian.org</a>
<a class="moz-txt-link-freetext" href="http://lists.xapian.org/mailman/listinfo/xapian-devel">http://lists.xapian.org/mailman/listinfo/xapian-devel</a>
</pre>
</blockquote>
</body>
</html>