On 6-Feb-08, at 4:32 PM, Fuad Efendi wrote:
Indeed the field cache method works much better when the values are
single-valued. Unfortunately, there is no way for solr to know that
the analyzer is only outputting a single token per document, else we
could apply this optimization automatically.
Thanks Mike,
Some clarification:
*single-valued* in my previous Email means *field-with-single-only-
value*
(in SOLR terms, multiValued="false"), and not a *single-token*. This
*single-valued* field is analyzed/tokenized and it is *multi-valued-
token*
so that fieldCache can't work. And I have extremely good performance
improvements, *without* Lucene's FieldCache optimization!
That seems extremely odd. Sure you aren't just sending fewer unique
tokens?
-Mike