On 8 February 2011 12:48, Claudio Martella <[email protected]> wrote: > I also do use lucene for the analysis of the document, I don't see the > problem. > Lucene's tokens have a pool and are re-used, so I wouldn't care about > that overhead, i.e. > > Are you planning on developing a faster lucene? :) >
Being a newcomer I really don't think so :) The thing is I learned that in a mapper you should create the least number of object possible (efficiency reasons ) and to get the positional term vector for a document I do create lots of object IndexWriter,IndexReader,Directory,Document, TermPositions ...I just though there was a better way :) MD

