You tell it what you want.  See the javadocs for
org.apache.lucene.document.Field and friends such as TextField.


--
Ian.


On Mon, Aug 4, 2014 at 2:43 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

Reply via email to