Running our test program

Change directory to $<$BaseDir$>$/db and execute the following:

$ ../htdig/htsearch/ourSearchProgram htdig.conf computer

It should now search for the term 'computer' using the htdig.conf configuration file.

The program should output one line for each occurrence of the term 'computer'. It should look something like the following:

> wordList->Count(): 25
> Flags 0, docID: 3
> Flags 0, docID: 6
> Flags 0, docID: 8
> Flags 0, docID: 8
> Flags 0, docID: 8
> Flags 0, docID: 8
> Flags 0, docID: 9
> Flags 0, docID: 9
> Flags 0, docID: 12
> Flags 0, docID: 12
> Flags 0, docID: 12



Mads Lindstrøm