Hi, I have a few questions regarding more like this:
1. In MoreLikeThis, it seems like the check for fieldNames being null and fetching them from the reader is not done for all the like methods. For example, it does not look like it is done at all for like(Reader r), and on the other hand, it is done for like(File f). 2. In MoreLikeThisQuery rewrite method, there is an unnecessary conversion to bytes and back to string. I think this: BooleanQuery bq= (BooleanQuery) mlt.like(new ByteArrayInputStream(likeText.getBytes())); should be replaced with: BooleanQuery bq= (BooleanQuery) mlt.like(new StringReader(likeText)); What do you think? -shay.banon