But I just tested the <div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "> o.c.j.book.FeatureType.</span><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">STRONGS_NUMBER("Strongs");</span></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">fix and it works and is a lot better so I am going with that.<br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Thanks</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Martin</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font><div class="gmail_quote">On 8 June 2011 22:43, Martin Denham <span dir="ltr"><<a href="mailto:mjdenham@gmail.com">mjdenham@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I have done a bit more work on this because it affects a new feature I am working on at the moment.<div><br></div><div>
Books I have found with Strongs but without the Strongs feature type in their .conf are:</div><div><ul>
<li>OSMHB</li><li>RWebster</li><li>SpaTDP</li><li>Byz</li><li>[RST (no longer unavailable)]</li></ul></div><div><br></div><div>I have come up with a little hack to find if a book has Strongs because I need it now:</div><div>
<div><span style="white-space:pre-wrap"> </span>private boolean hasStrongs(Book book) {</div><div><span style="white-space:pre-wrap"> </span>Object globalOptionFilter = book.getBookMetaData().getProperty("GlobalOptionFilter");</div>
<div><span style="white-space:pre-wrap"> </span>return globalOptionFilter==null ? false : globalOptionFilter.toString().contains("Strongs"); </div><div><span style="white-space:pre-wrap"> </span>}</div>
</div><div><br></div><div>A secondary problem I have uncovered is that Strong's numbers are not indexed in the above books because the hasStrongs check in LuceneIndex.java uses the FeatureType.STRONGS_NUMBERS discussed above.</div>
<div><br></div><div>Kind regards</div><div>Martin</div>
</blockquote></div><br></div>