Re: MoreLikeThis and dynamicField

2010-06-12 Thread Lance Norskog
MLT needs term vectors. You may either store the term vectors while indexing, or store the text so that the MLT handler can pull it and analyze it. (Highlighting has the same problem.) I don't know if you still need the stored text with term vectors in the index, but storing neither will definitel

Re: MoreLikeThis and dynamicField

2010-06-12 Thread Peter Karich
Hi Lance, > You cannot give it a wildcard to go find dynamic fields; ah, ok. But it would be nice to use wildcards. You correctly guessed that I meant the wildcard querying. The dynamicField definition is not the problem ... So one can define and then the query via myfield_t would work. The term

Re: MoreLikeThis and dynamicField

2010-06-11 Thread Lance Norskog
MoreLikeThis works on any field you can name. You cannot give it a wildcard to go find dynamic fields; no query feature can do this (would be handy!). The field must have term vectors configured. In the solr/example/solr/conf schema, the 'includes' field has this set and you can do MLT on that. Tr

MoreLikeThis and dynamicField

2010-06-11 Thread Peter Karich
Hi, it seems to me that the MoreLikeThis component doesn't work for dynamic fields. Is that correct? And it also doesn't work for fields which are indexed but not stored, right? e.g. 'text' where dynamic fields could be copied to. Or did I create an incorrect example? Regards, Peter. -- http:/