<div dir="ltr">The AB IndexPolicyAdapter doesn't have much in it:<div><div>public class AndroidIndexPolicy extends IndexPolicyAdapter {</div><div><span class="" style="white-space:pre">        </span>@Override<br></div><div><span class="" style="white-space:pre">        </span>public int getRAMBufferSize() {</div>
<div><span class="" style="white-space:pre">                </span>return 1;</div><div><span class="" style="white-space:pre">        </span>}</div><div><span class="" style="white-space:pre">        </span>@Override<br></div><div><span class="" style="white-space:pre">        </span>public boolean isSerial() {</div>
<div><span class="" style="white-space:pre">                </span>return true;</div><div><span class="" style="white-space:pre">        </span>}</div><div>}</div></div><div><br></div><div>It is a long time since I looked at this and can't recall being aware I could switch off certain fields. It may be that in the end I just thought that people could always download indexes if they didn't have enough power to generate them.<br>
</div><div><br></div><div>But have you seen:</div><div><div> boolean includeHeadings = book.getBookMetaData().hasFeature(FeatureType.HEADINGS) && policy.isTitleIndexed();</div></div><div>so maybe the field is just not indexed for that module bec ause the feature is not flagged in the module's metadata.</div>
<div><br></div><div>Cheers</div><div>Martin</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 22 April 2014 19:21, DM Smith <span dir="ltr"><<a href="mailto:dmsmith@crosswire.org" target="_blank">dmsmith@crosswire.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">I mean "heading:chapter" not headings:chapter".<span class="HOEnZb"><font color="#888888"><div>
-- DM</div></font></span><div><div class="h5"><div><br><div><div>On Apr 22, 2014, at 2:17 PM, DM Smith <<a href="mailto:dmsmith@crosswire.org" target="_blank">dmsmith@crosswire.org</a>> wrote:</div><br><blockquote type="cite">
<div style="word-wrap:break-word">I don't think AB has headings indexed. I tried "find" for headings:(chapter) and no hits.<div><br></div><div>If AB does not index some fields (using the IndexPolicy) then changing them won't impact AB's current indexes.</div>
<div><br></div><div>Martin can you verify what you index?</div><div><br></div><div>In Him,</div><div><span style="white-space:pre-wrap">        </span>DM</div><div><br></div><div><div><div>On Apr 22, 2014, at 1:19 PM, Chris Burrell <<a href="mailto:chris@burrell.me.uk" target="_blank">chris@burrell.me.uk</a>> wrote:</div>
<br><blockquote type="cite"><div dir="ltr">I personally don't mind. I was thinking of the change of content in AB...</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 22 April 2014 18:13, DM Smith <span dir="ltr"><<a href="mailto:dmsmith@crosswire.org" target="_blank">dmsmith@crosswire.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><br></div>Why would you want to wait? In a lucene index every verse has a heading that is generated by JSword. These should have never been indexed as they are not in the module.<div>
<br></div><div>I have a fix ready.</div><div><br></div><div>In Him,</div><div><span style="white-space:pre-wrap">        </span>DM<div><div><br><div><br><div><div>On Apr 21, 2014, at 1:17 AM, Chris Burrell <<a href="mailto:chris@burrell.me.uk" target="_blank">chris@burrell.me.uk</a>> wrote:</div>
<br><blockquote type="cite"><p dir="ltr">My preference would be to remove that in later versions</p>
<div class="gmail_quote">On 21 Apr 2014 04:55, "Sijo Cherian" <<a href="mailto:sijo.cherian@gmail.com" target="_blank">sijo.cherian@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><div>DM,<br>I noticed that 'heading' field value contains the <keystring> at the beginning of the value string<br><br>For gen1:1<br>heading, contains "Genesis 1:1 The Beginning of Creation"<br>
<br></div>For gen1:2<br>heading: "Genesis 1:2"<br></div>(even though no heading for this verse)<br><br></div>Is it intentional to index full-bookname/verse, even when heading itself is empty for a verse?<br><br>
</div>thanks in advance,<br>sijo<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Apr 20, 2014 at 3:43 AM, Chris Burrell <span dir="ltr"><<a href="mailto:chris@burrell.me.uk" target="_blank">chris@burrell.me.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">This will break AndBible indexes. And Martin will need to rebuild them and distribute to 80000+ users. </p>
<span><font color="#888888"><p dir="ltr">Chris</p>
</font></span><div class="gmail_quote"><div>On 20 Apr 2014 03:19, "Sijo Cherian" <<a href="mailto:sijo.cherian@gmail.com" target="_blank">sijo.cherian@gmail.com</a>> wrote:<br type="attribution">
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<div dir="ltr"><div><div><br>As I was thinking about Chris' requirement to stem the heading: <br><br>Shouldn't the 'heading' & 'intro' fields be analyzed using same analyzer as 'content'?<br>
</div>since they all seem to be of same nature and language text.<br><br></div>Since this field is not used in free text query, and only impacts fielded query, is there objection to changing the analyzer for 'heading' & 'intro' fields.<div>
<div><br>-- <br>Sijo
</div></div></div>
<br></div><div>_______________________________________________<br>
jsword-devel mailing list<br>
<a href="mailto:jsword-devel@crosswire.org" target="_blank">jsword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br>
<br></div></blockquote></div>
<br>_______________________________________________<br>
jsword-devel mailing list<br>
<a href="mailto:jsword-devel@crosswire.org" target="_blank">jsword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Sijo
</div>
<br>_______________________________________________<br>
jsword-devel mailing list<br>
<a href="mailto:jsword-devel@crosswire.org" target="_blank">jsword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br>
<br></blockquote></div>
_______________________________________________<br>jsword-devel mailing list<br><a href="mailto:jsword-devel@crosswire.org" target="_blank">jsword-devel@crosswire.org</a><br><a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br>
</blockquote></div><br></div></div></div></div></div></blockquote></div><br></div>
</blockquote></div><br></div></div>_______________________________________________<br>jsword-devel mailing list<br><a href="mailto:jsword-devel@crosswire.org" target="_blank">jsword-devel@crosswire.org</a><br><a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br>
</blockquote></div><br></div></div></div></div><br>_______________________________________________<br>
jsword-devel mailing list<br>
<a href="mailto:jsword-devel@crosswire.org">jsword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br>
<br></blockquote></div><br></div>