On 5/17/05, Quentin Mathé <[EMAIL PROTECTED]> wrote: > Le 18 mai 05, à 00:35, Yen-Ju Chen a écrit : > > > http://qdbm.sourceforge.net/ > > > > QDBM is a database library which offer inverted index: > > http://qdbm.sourceforge.net/spex.html#odeumapi > > > > In other word, it can do the same thing as lucene. > > > > There is an application, Estraier, using QDBM as searching system. > > http://estraier.sourceforge.net/ > > > > Maybe we should discuss which one to use in Etoile. > > I would like to hear your opinion Yen-Ju ;-) > > I largely prefer Lucene to QDBM personally. > QDBM/Estraier has a very simple C API, it looks like its strongest > point. > Lucene however has a higher level, rich and nicely object oriented API > (Objective-C for LuceneKit) which provides lot of flexibility and > control over what you need to do and what you want to do; Lucene starts > to be used in more and more projects and be well known too (there is a > book about Lucene now). > Last point, in my opinion Lucene really shines when you look at modules > like Analysis and Search.
I am neutral on this issue even though I am porting Lucene. QDBM is a database itself, which might be very useful for Etoile, just like the built-in database in BeOS. A built-in database seems to be a big plus to me. We can always write an objective wrapper around the QDBM interface. So my only consideration is whether we want to spend time and effort to maintain our own library, or just use the existing one. This question actually appies to all the low-level libraryies for Etoile, like regular expression, compression, etc. With LuceneKit, the advantage is the control of everything, but it takes time to maintain it and we might not have the expertise to improve it. With QDBM, we just need to maintain the wrapper, but have no control about it. It's pretty much the same situation for UnitKit, which is used now in Etoile. I care less about the API because each one has its advantage and disadvantage. We can have endless discussion on which one is better. Yen-Ju > > Quentin. > > -- > Quentin Mathé > [EMAIL PROTECTED] > > _______________________________________________ > Etoile-dev mailing list > [email protected] > https://mail.gna.org/listinfo/etoile-dev >
