22 nov 2010 kl. 10.56 skrev <jan.kure...@nokia.com> <jan.kure...@nokia.com>:
> Using the SearchHandler with the deftype=”dismax” option enables the > DisMaxQParserPlugin. From investigating it seems, it is just tokenizing by > whitespace. > > Although by looking in the code I could not find the place, where this > behavior is enforced? I only found, that for each field the getFieldQuery() > method is called, which either throws an “unknownField” exception or returns > the correct analyzer including tokenizer and filter for the given field. > > We want to use a more fancier Tokenizer/filter setting with the DisMaxQuery > stuff. > > Where to hook in best? Hi Jan, you might want to start looking at SolrPluginUtils.DisjunctionMaxQueryParser. karl --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org