How does MoreLikeThis use termVectors? My documents (full sample at the bottom) frequently include lines more or less like this
M /trunk/home/.Aquamacs/Preferences.el I want to "MoreLikeThis" based on the full path, but not the "M". But what I actually display as a search result should include "M" (should look pretty much like the sample, below). If I define a field to include that whole line, I can certainly search in ways that skip the "M", but how do I control the termVector and MoreLikeThis? I think the answer is not to termVector the line as shown, but rather to index these lines twice, once whole (which is also copyFielded into the display text), and a second time with just the path (and termVectors="true"). Which is OK, but since these lines will represent most of my data, double-indexing seems to double my storage, which is ... oh, well ... not entirely optimal. So is there some way I can index the full line, once, with "M" and path, and tell the termVector to include the whole path and nothing but the path? -==- Jack Repenning Technologist Codesion Business Unit CollabNet, Inc. 8000 Marina Boulevard, Suite 600 Brisbane, California 94005 office: +1 650.228.2562 twitter: http://twitter.com/jrep ------------------------------------------------------------------------ r3580 | jack | 2011-04-26 13:55:46 -0700 (Tue, 26 Apr 2011) | 1 line Changed paths: M /trunk/home/.Aquamacs M /trunk/home/.Aquamacs/Preferences.el M /trunk/www/wynton-start-page.html simplify the hijack of Aquamacs prefs storage, aufl ------------------------------------------------------------------------
PGP.sig
Description: This is a digitally signed message part