<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi Balz<br>
    <br>
    Thanks very much for your feedback.<br>
    <br>
    I agree we need to continue improving this. Will get back to it when
    I will<br>
    be back in a couple of days.<br>
    <br>
    Cheers<br>
    <br>
    Michael<br>
    <br>
    On 4/29/11 3:18 PM, Balz Schreier wrote:
    <blockquote
      cite="mid:BANLkTinE0d8vSQ6i+vwa0hPvzNfGDXKqPw@mail.gmail.com"
      type="cite">Hi Michael,
      <div><br>
      </div>
      <div>I am now implementing property indexing for my project.</div>
      <div>I noticed the following in the current LuceneIndexerV2 class:</div>
      <div><br>
      </div>
      <div>- the updateIndex method is not synchronized, this can easily
        cause a corrupt index at high traffic</div>
      <div><br>
      </div>
      <div>- the line where the fulltext is added to the document:</div>
      <div><br>
      </div>
      <div>
        <meta http-equiv="Content-Type" content="text/html;
          charset=ISO-8859-1">
        <meta http-equiv="Content-Style-Type" content="text/css">
        <title></title>
        <meta name="Generator" content="Cocoa HTML Writer">
        <meta name="CocoaVersion" content="1038.35">
        <style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco}
span.s1 {color: #931a68}
span.s2 {color: #0027cc}
span.s3 {text-decoration: underline line-through}
</style>
        <p class="p1">                    luceneDoc.add(<span class="s1">new</span>
          Field(LuceneIndexer.<span class="s2">INDEX_PROPERTY_FULL</span>,
          fullText, Field.Store.<span class="s2">YES</span>,
          Field.Index.<span class="s3">TOKENIZED</span>));</p>
      </div>
      <div><br>
      </div>
      <div>This has changed compared to LuceneIndexer (v1): there it was
        stored with <a moz-do-not-send="true"
          href="http://Field.Store.NO">Field.Store.NO</a> .</div>
      <div>Is there a certain reason why this has been changed? I only
        ask because this will increase dramatically the size of the
        index if you store the full content in the index too.</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div>As I will use my own Indexer class anyway, this has no
        urgency to be changed in Yanel, but it is interesting to improve
        the V2 class.</div>
      <div><br>
      </div>
      <div>Cheers</div>
      <div>Balz</div>
    </blockquote>
    <br>
  </body>
</html>