Upgrade the code to pylucene 4.8 and remove some deprecated methods. Add the option to show a maximum number of results (default 10). Add the option to highlight the query in context of the document results and generate this in html format. README file updated with these changes.
corrections to README
corrections to README 2