lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <ian....@gmail.com>
Subject Re: subscribe
Date Mon, 11 Nov 2013 16:30:38 GMT
Have you set an analyzer when you create your IndexWriter?


--
Ian.

P.S.  Please start new questions in new messages with sensible subjects.


On Mon, Nov 11, 2013 at 9:00 AM, Rohit Girdhar <rohit.iiith@gmail.com> wrote:
> Hi
>
> I was trying to use the lucene JAVA API to create an index. I am repeatedly
> getting NullPointerException when I try to add a document with a
> TextField() field to the IndexWriter. The exception is:
> http://pastebin.com/KFZT4XNV
> I even tried to use the deprecated Field() API, but still the same
> exception.
> Any pointers?
>
> Thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message