DERBY-590: Add a windowSize parameter to the lucene query function; commit derby-590-19-aa-cleanupAPI2.diff.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1585315 13f79535-47bb-0310-9956-ffa450edef68