Closed GoogleCodeExporter closed 9 years ago
Please disregard the defect that I lodged. For some reasons I thought field
name can be anything. If we follow names and schemes in
org.apache.lucene.demo.IndexFiles things goes ok.
Thank you.
Original comment by rangeli....@gmail.com
on 14 Aug 2014 at 6:37
Oh - glad you fixed it! I had just realized that field names may be an issue,
and checked in some code that instead of giving an undocumented NPE will give
an exception message from the LuceneUtils class saying:
Exception in thread "main" java.lang.NullPointerException: No terms for field:
'foo'.
Known fields are: 'path, modified, contents'.
Original comment by dwidd...@gmail.com
on 14 Aug 2014 at 7:43
Original issue reported on code.google.com by
rangeli....@gmail.com
on 14 Aug 2014 at 5:10