Bill Moseley scribbled on 2/16/05 1:22 PM:
> On Wed, Feb 16, 2005 at 01:12:19PM -0600, Peter Karman wrote:
>
>>>$ swish-e -T index_words | grep . | perl -nae 'print "$F[3] $F[0]\n"' | sort -rn
>>
>>this doesn't quite work, at least not the way my script does.
>
>
> Well, it works if you index just one file. ;)
>
> Makes a one-liner a bit harder. Is it cheating if I modify the -T
> code to print out the total words?
>
definitely cheating. but welcome cheating.
the output of your one-liner would be most helpful, I would guess:
word freq
how about -T word_count ( to differentiate with index_word_count, which prints
words_per_file for ranking help ).
--
Peter Karman . http://peknet.com/ . peter(at)not-real.peknet.com
Received on Wed Feb 16 11:28:13 2005