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 <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to