BTW, I could access that index using Luke. It works fine.

On 3/7/06, Apache Lucene <[EMAIL PROTECTED]> wrote:
>
>  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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

Reply via email to