From: norbert b. <nor...@di...> - 2015-01-23 15:27:45
|
Hello, Yes, I found about the non static parse method just a while after writing my 1st e-mail, thank you ! It does sound like a better way to use the queryParser indeed. Cheers, Norbert Le 23/01/2015 16:21, Kostka Bořivoj a écrit : > > Hello, > > I never used QueryParser::parse static method so I'm not sure, but if > you pass a complex query as first parameter it should return correct > Query object > > Please note this static method is marked /** For backward > compatibility */ in source code, so better way is to create > QueryParser object > > and call member parse(const TCHAR* _query) method. This avoid creation > of new parser object for each query you parse so it is a bit more > efficient. > > Borek > -- |