Share with others

Retrieval of Documents using Inverted Files -BE(IT) CLP-II Practical

Aim  : To implement a program Retrieval of documents using inverted files. 
Objective : To study Indexing , Inverted Files and searching with the help of inverted file  in Java LanguageCode written in Java to implement of the same with appropriate output. 

Input to the Program of Inverted Files :

File 1 Contents :  are you anil kumar

File 2 Contents : hello where are you.

Source Code for Inverted Files in Java Language :


Output for the Inverted Files Program:



ENTER TOTAL NO OF FILES:
2


ENTER FILE 1 NAME:
c:\anil1.txt


ENTER FILE 2 NAME:
c:\anil2.txt


hello 1
where 1
are 1 2
you 1 2
anil 2
kumar 2


Share with others