On Wed, Mar 10, 2010 at 1:40 PM, Shai Erera <ser...@gmail.com> wrote:
> I wrote that I defaulted to Whitespace for convenience reasons only. Now you
> don't need to specify anything if you don't care how the content is indexed,
> which is really the case for TONS of tests. The code became so much simpler.

I guess I don't see it this way. It may be convenient for us, but its
inconvenient
for new users, as they see it as 'lucene's default'. No one wants to do more
work than is necessary: currently a lot of people use StandardAnalyzer for this
reason, maybe without a lot of thought. but this is ok.
StandardAnalyzer at least
does things like lowercasing.

> For those who do care, they anyway pay attention to it :).

I see it as the inverse: I would rather our tests have "new WhitespaceAnalyzer"
than see users complain on java-user mailing list that lucene doesn't
ignore case
differences or punctuation, because they don't need to think about this.

Whitespace is a shitty default for a search engine, its only good for tests.


-- 
Robert Muir
rcm...@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to