[Xapian-discuss] Query with version-numbers won't allow pages with Omega
Arjen van der Meijden
acmmailing at tweakers.net
Wed Jan 7 21:39:19 GMT 2009
On 7-1-2009 22:05 Olly Betts wrote:
> If you change that to use a tab instead of a . like the current templates/query
> then this will work correctly (since for multiple terms we'll find at least one
> tab and so (n_old_terms > 1) while for a single term xP isn't likely to end in
> a '.' - it certainly never will for TermGenerator generated terms).
Ah, I see we indeed use the old query-template:
Where xP was generated via $html{$list{$queryterms,,.,.}}
The new one just reads:
$html{$queryterms}
I'll adjust that sometime soon.
>
> I'm not sure if/when we should drop this compatibility code - it seems a shame
> to break bookmarked queries needlessly, especially as any non-updated templates
> will still be generating the old style xP even though 0.9.7 changed the default
> template back in October 2006.
I totally missed that change back then, and never bothered to update the
template to mimic a newer query-template for this environment, thanks
for your help.
Best regards,
Arjen
More information about the Xapian-discuss
mailing list