You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by ayyanar <ay...@aspiresys.com> on 2009/01/14 13:31:38 UTC
Passing analyzer to the queryparser plugin
Is there a way to pass the analyzer to the query parser plugin
--
View this message in context: http://www.nabble.com/Passing-analyzer-to-the-queryparser-plugin-tp21455066p21455066.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Passing analyzer to the queryparser plugin
Posted by Chris Hostetter <ho...@fucit.org>.
: Is there a way to pass the analyzer to the query parser plugin
Solr uses a variant of the PerFieldAnalzyer -- you specify in the
schema.xml what analyzer you want to use for each field.
if you have some sort of *really* exotic situation, you can always design
a custom QParser that looks at some query params to do something really
interesting (it's the parser that decides how to use the analyzer.
if you could explain what it is you are trying to do, we might be able to
help you.
PS: please don't post your duplicate copies of your questions twice to
general@lucene ... solr-user is the appropriate place for questions like
this.
-Hoss