The analysis-xx plugin provides the stemming function to the analyzer used for indexing but it does not provide the same stemming function the the query analyzer.
In the trunk, the analysis plugins are both used for documents analysis and queries analysis. The right thing to do is to make the analyzer used for query plugable.
Challenge here is that there is no way to detect the language of query,
because the query strings are too short for that. That's right.
The language must be provided by query application in an application specific way such as asking the user a language by drop-down list etc.
In the default implementation (the one committed in trunk), the language used for query analysis is the one specified in the lang parameter from the url (if you take a look at search.xml files you can notice a hidden lang parameter with the locale). Hope it helps. Regards Jérôme -- http://motrech.free.fr/ http://www.frutch.org/
_______________________________________________ Nutch-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nutch-general
