: >Is it possible to modify MoreLikeThis to use the schema.xml-defined
: >analyzer?  That's the way the highlighting code currently works (it
: >picks the index-time analyzer).
:
: I looked at that briefly (passing the analyzer to use down to
: MoreLikeThis), but for my fields it's a lot more than just what
: analyzer is used, given all of the filters that are also in play.

that confuses me ... when dealing with the "plugin" level of things (ie:
writing java code) it's easy to access an IndexSchema instance, and from
there to get a SolrAnalyzer that already knows about all of the fields and
what token filters to use on each -- you could even access the "index"
analyzer instead of the "query" analyzer if you wanted for any field at
query time ... so if the MLT class allows some way of setting the Analyzer
to use, that should work fine.

what other problems did you run into when you looked into this Ken?

: Also the performance really stunk when I didn't use stored term vectors.

well .. i'd still rather be able to say "using termVectors to make MLT
faster" then: "if you don't use termVectors MLT doesn't work at all"


-Hoss

Reply via email to