These are operations on indexes, so analysis is no longer relevant. Analysis is performed BEFORE data is placed in an index. You still need to perform analysis for queries though.

You can use different analyzers as long as they are compatible - if they produce the same results, but if they don't produce the same token stream at both the token and character/byte level, your queries may fail.

Rule #1 with Lucene and Solr - always be prepared to completely reindex your data, precisely because ideas about analysis evolve over time.

-- Jack Krupansky

-----Original Message----- From: Earl Hood
Sent: Wednesday, December 05, 2012 2:33 AM
To: java-user@lucene.apache.org
Subject: Is Analyzer used when calling IndexWriter.addIndexesNoOptimize()?

Lucene version: 3.0.3

Does IndexWriter use the analyzer when adding indexes via
addIndexesNoOptimize()?

What about for optimize()?

I am examining some existing code and trying to determine
what effects there may be when combining multiple indexes
into a single index, but each index may have had different
analyzers used.

Thanks,

--ewh

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

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

Reply via email to