lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrien Grand <jpou...@gmail.com>
Subject Re: Beginner's questions
Date Fri, 29 Mar 2013 15:33:17 GMT
Hi Paul,

On Fri, Mar 29, 2013 at 1:38 PM, Paul Bell <arachweb@gmail.com> wrote:
> Last night reading in "Lucene in Action, 2nd edition," I came upon this
> about addDocument(Document, Analyzer): "Adds the document using the
> provided analyzer for tokenization. But be careful! In order for searches
> to work correctly, you need the analyzer used at search time to "match" the
> tokens produced by the analyzers at indexing time."
>
> Is this warning from the author of a piece with what you're warning me
> about?

Exactly. This is a very common source of errors.

--
Adrien

---------------------------------------------------------------------
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