lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: Dumb question
Date Wed, 28 Jun 2006 04:40:46 GMT

: Would the query term(s) passed in a request need to be stemmed/analyzed
: outside of the request (prior to), or is that handled internally?  I'm still
: making my way through the code but need to answer that question in short
: order.

Solr field types all have at least one Analyzer -- sometimes two if the
field type is configured to use a differnet analyzer when indexing vs
querying.   The Analyzer's are all configured via the schema.xml file, and
internally wrapped into a single uber Analyzer that delegates to the
appropraite field specific Analyzer (see the IndexSearcher methods
getAnalyzer and getQueryAnalyzer)

for examples of configuring the analyzers for various fields, take a look
at the example schema.xml, or the analyzer documentation on the wiki...


View raw message