Le Jeudi 15 Février 2007 10:27, Chris Hostetter a écrit : > : I wanted to implement my own query, query wich will be specific to my > : application. The query I want to implement is in fact just a combinaison > : of sevral already implemented queries. So acheive this, I do this kind of > > you can probably achieve your goal by simply making MyQuery.rewrite return > the underlying query you want use (make sure to call rewrite on it first > though)
ok, got it. And it works. thanks ! And in fact I shouldn't override the weight(...) function. I have just looked to the prefix query source code. cheers, -- Nicolas LALEVÉE Solutions & Technologies ANYWARE TECHNOLOGIES Tel : +33 (0)5 61 00 52 90 Fax : +33 (0)5 61 00 51 46 http://www.anyware-tech.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]