Re: [CLucene-dev] Bug in StandardTokenizer

2010-12-24 Thread Itamar Syn-Hershko
Hi Pini, Thanks for the fix. I checked in a slightly different fix taken from our bug tracker. It also had a few tests. Let us know if there's anything else left to fix, and feel free to add your own tests. Itamar. On 23/12/2010 7:41 PM, pini shamgar wrote: Hi, I found a bug in the Sta

[CLucene-dev] Bug in StandardTokenizer

2010-12-23 Thread pini shamgar
Hi,   I found a bug in the StandardAnalyzer. Due to it I could not search and find an  IP address. The bug is in the reuse of StandardTokenizer object. Bellow a fixed presented:   The fix is in 3 flies:   1) In core\CLucene\analysis\standard\StandardTokenizer.cpp   void StandardTokenizer::rese