Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] count number of times a word occurs in an index

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Sat Dec 29 2007 - 00:17:54 GMT
On Fri, Dec 28, 2007 at 06:09:17PM -0500, Eric Lease Morgan wrote:
> 
> How can I use swish-e to count the number of times a word occurs in an  
> index?

    -T index_words
    -T index_words_full

probably will tell you in a round about way.

hello [1 1 2 (5/9 6/9)] [1 2 1 (5/9)]
hi [1 2 1 (6/9)]
there [1 1 1 (7/9)]

Where [<meta id> <file num> <count in file> (position data)]

hello [1 1 2 (5/9 6/9)] [1 2 1 (5/9)]

is in meta 1, file 1 (twice) and file 2 (once).


-- 
Bill Moseley
moseley@hank.org

Unsubscribe from or help with the swish-e list: 
   http://swish-e.org/Discussion/

Help with Swish-e:
   http://swish-e.org/current/docs

_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Fri Dec 28 19:00:01 2007