I'm thinking using clustering (SOLR-769) function for my project. I have a couple of questions:
1. if q=*:* is requested, Carrot2 will receive "MatchAllDocsQuery" via attributes. Is it OK? 2. I'd like to use it on an environment other than English, e.g. Japanese. I've implemented Carrot2JapaneseAnalyzer (w/ Payload/ITokenType) for this purpose. It worked well with ClusteringDocumentList example, but didn't work with CarrotClusteringEngine. What I did is that I inserted the following lines(+) to CarrotClusteringEngine: attributes.put(AttributeNames.QUERY, query.toString()); + attributes.put(AttributeUtils.getKey(Tokenizer.class, "analyzer"), + Carrot2JapaneseAnalyzer.class); There is no runtime errors, but Carrot2 didn't use my analyzer, it just ignored and used ExtendedWhitespaceAnalyzer (confirmed via debugger). Is it classloader problem? I placed my jar in ${solr.solr.home}/lib . Thank you, Koji