Dumb question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Dumb question

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

cheers,
j
Reply | Threaded
Open this post in threaded view
|

Re: Dumb question

Chris Hostetter-3

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

http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters





-Hoss

Reply | Threaded
Open this post in threaded view
|

Re: Dumb question

jrodenburg
perfect, thanks Chris

On 6/27/06, Chris Hostetter <[hidden email]> wrote:

>
>
> : 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...
>
> http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters
>
>
>
>
>
> -Hoss
>
>