Le 4 avr. 05, à 23:51, Yen-Ju Chen a écrit :
I just noticed that LuceneKit is in CVS already.
Yes, but I need to make various minor changes in order it compiles, that's why I haven't announced it here.
I haven't committed my additions also.
I would like to have some discussion about the header structure. LuceneKit has several parts. The most important parts are Index, Search, Analysis, which is kind of independent from each other. Do people like to have a flat header or a hierarchic header ? It seems GNUstep-related projects use flat header, but mixing all these parts is kind of messy to me.
I thought about this point a bit more, and I decided to keep for now this hierarchical structure because there are a lot of headers and moreover it makes the framework use probably easier for someone who has already used other Lucene versions (Java, C# etc.) … To track changes in Apache version, it is also probably a bit more easy to use such hierarchical structure mapped to Java packages structure.
May be other people here have a different opinion on the subject ?
For flat header, it will look like <LuceneKit/LCTermVectorsWriter.h>, and there will be about 100 header files in the same directory. For hierarchic header, it will look like <LuceneKit/Index/LCTermVectorsWriter.h>, just one more level. How do you think ?
I plan to add an umbrella header LuceneKit.h, then you won't have to take in account how the framework is structured, you would just write #import <LuceneKit/LuceneKit.h>
Quentin. -- Quentin Mathé [EMAIL PROTECTED]
