My presumption was wrong. This only affects ranked searches, because "non-ranked" searches do no use the TopScoreCollector and thereby completely ignore the searchModifier (possibly a bug? since maxResults is ignored?)<div>
<br>Chris</div><div><br><div><br></div><div><br><br><div class="gmail_quote">On 4 September 2012 11:05, 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">This only seems to affect ranked searches. Presumably because JSword restricts the Lucene range if it ordered by Passage.<div class="HOEnZb">
<div class="h5"><div><br><br><div class="gmail_quote">On 4 September 2012 11:01, 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">Hi<div><br></div><div>Not sure if this is a bug, but thought it worth mentioning here. The restrictions to passages in searches don't play well with the MaxResults on the DefaultSearchModifier. In my case, I'm looking at +[John 4] with and my user interface shows the first 50 results on each page.</div>
<div><br></div><div> final DefaultSearchModifier modifier = new DefaultSearchModifier();</div><div>modifier.setMaxResults(50);</div><div>modifier.setRanked(true);</div><div><br></div><div>bible.find("water +[John 4]");</div>
<div><br></div><div>Unfortunately, that only gives me back 2 results, because the other 48 are not the in the first 50 retrieved by Lucene.</div><span><font color="#888888"><div><br></div><div>Chris</div><div>
<br></div>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>