Hi I am doing an application with Apache Camel 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://camel.465427.n5.nabble.com/Apache-Camel-Lucene-I-want-to-use-Field-Store-Yes-when-I-use-TextField-String-Reader-tp5739786.html Sent from the Camel - Users mailing list archive at Nabble.com.