You should know two things to get this. 1.Indexed fields can be searched. 2.Stored fields can be fetched.
Check your code whether you are storing all fields. -- Kumaran R Sent from Phone > On 04-Aug-2014, at 7:13 pm, Sachin Kulkarni <kulk...@hawk.iit.edu> wrote: > > Hi, > > I am using lucene 4.6.0 to index a dataset. > I have the following fields: > doctitle, docbody, docname, docid, date. > But when I access the fields using indexReader.getTermVectors(indexedDocID) > then I only get two fields > docbody and docname. > > How do I index so that I also get doctitle? > > Thank you. > > Regards, > Sachin Kulkarni --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org