lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Lucene" <lucenena...@gmail.com>
Subject Re: indexing problems
Date Tue, 07 Mar 2006 16:29:57 GMT
This line is throwing a null pointer exception for the index I created as I
mentioned in my previous emails.

searcher = new IndexSearcher(IndexReader.open(indexPath) );

Any ideas? I made sure the indexPath is a valid path.

thanks,

lucenenator


On 3/7/06, Erik Hatcher <erik@ehatchersolutions.com> wrote:
>
>
> On Mar 7, 2006, at 10:41 AM, Apache Lucene wrote:
>
> > Is it advisable to use compound file format? or should I revert it
> > back to
> > simple file format? How do I revert it back?
>
> There is a setter on IndexWriter to set it back if you like.   The
> compound format avoids the issues that cropped up a lot in the past
> with greatly segmented indexes eating up all available file handles.
>
> How you set it really depends.  Try both and see.
>
> > lucenenator
>
> haha!
>
>        Erik
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message