lucy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Karman <pe...@peknet.com>
Subject Re: [lucy-dev] Who should perform query optimization?
Date Tue, 12 Apr 2011 03:17:02 GMT
Marvin Humphrey wrote on 4/11/11 6:32 PM:

> 
> To disable optimization, or enact custom optimizations, the user needs to
> implement custom Compiler classes.  (For now, that means they must also
> implement custom Query classes, since Queries serve as factories for
> Compilers.)

A (probably ham-handed) example here of this kind of subclassing:

http://search.cpan.org/dist/Search-Query-Dialect-KSx/lib/Search/Query/Dialect/KSx/Compiler.pm


-- 
Peter Karman  .  http://peknet.com/  .  peter@peknet.com

Mime
View raw message