lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shai Erera <ser...@gmail.com>
Subject Re: Bug in DocInvertedPerField?
Date Mon, 06 Jul 2009 16:06:05 GMT
Ok. BTW, maybe we want to ensure then that the Analyzer passed to
IndexWriter is not null, since it looks to be a required argument, unless I
always addDocument w/ an Analyzer.

Thanks for the replies guys.

Shai

On Mon, Jul 6, 2009 at 5:22 PM, Yonik Seeley <yonik@lucidimagination.com>wrote:

> On Mon, Jul 6, 2009 at 7:12 AM, Shai Erera<serera@gmail.com> wrote:
> >  If I want to create an IndexWriter w/o an
> > Analyzer, why should I be forced to do new IndexWriter(new
> SimpleAnalyzer()
>
> Passing an Analyzer really doesn't seem like a hardship... it's the
> current interface that defines analysis, and it would complicate both
> code and semantics to start creating defaults when the analyzer==null.
>
> -Yonik
> http://www.lucidimagination.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>

Mime
View raw message