Hi I am doing an application with Lucene (4.4.0) integration, and I am having difficulty in storing the content of the log file.
doc.add(new TextField("contents", new BufferedReader(new InputStreamReader(fis, "UTF-8")))); I don't have any clues how to add Field.Store.YES for this constructor, I saw the implementation of this constructor and identified they have disabled the storing (i.e. super(name, reader, TYPE_NOT_STORED);). My intention was I want to show the additional information when it found a match on particular file. My requirement is if somebody search for a string in log file, I want to give when it found, and complete string where it has been found. Please help. Regards Ashok Gudise -- View this message in context: http://lucene.472066.n3.nabble.com/I-want-to-use-Field-Store-Yes-when-I-use-TextField-String-Reader-tp4091049.html Sent from the Lucene - Java Developer mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org