|
From: Ben v. K. <s40...@st...> - 2003-10-21 02:53:45
|
Pedja, I don't think it matters. The standardanalyzer has slightly more overhead than the simpleanalyzer so it's better to use it where possible. THe analyzers are only used when dealing with queries or when inserting documents(to split the text up into words). The optimize and open functions doesn't do that. However, it might be a better idea to have a global, or a resource based analyzer - with the future possibility of choosing which analyzer to use. Then analysers don't need to be loaded for each operation since the same analyzer would be used. I don't think it's a priority, but if you want to work on it your more than welcome to. hope that's ok, cheers, ben On Mon, 20 Oct 2003 15:42:33 -0400, <am...@ma...> wrote: > So what is the concensus on the use of Analyzers in CLucene ? > > I wonder because I see in the DLL/PHP wrapper we are still creating > or opening an index using a SimpleAnalyzer and optimizing with the same > yet using StandardAnalyzer to insert, search or delete a document. > > I know I dont want to sound as if I'm nagging about this, I just want to > get > it out of the way and move on with other things :) > > Hopefully I can get this newest PHP extension to work fully and then post > it up for testing and c&c. > > > thanks > > -pedja > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by OSDN developer relations > Here's your chance to show off your extensive product knowledge > We want to know what you know. Tell us and you have a chance to win $100 > http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 > _______________________________________________ > CLucene-developers mailing list > CLu...@li... > https://lists.sourceforge.net/lists/listinfo/clucene-developers > > |