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=UTF-8">
<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 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>