On Aug 28, 2006, at 3:37 PM, jason rutherglen wrote:
Could someone point me to where in the Solr code the Analyzer is applied to a query parser field?
IndexSchema.java is where the analyzers are created for indexing and for query parsing. It's fairly sophisticated in order to take into account all the various field settings from schema.xml. Hope that helps.
Perhaps preaching to the choir... Be aware that changing an analyzer once documents are indexed does not change how they are indexed. They'll need to be re-added to pick up new analysis configuration.
Erik