The document describes using a genetic algorithm with an improved fitness function and inverse index representation for web data mining. It proposes modifications to an existing genetic algorithm model (GAHWM) that uses a ranking based fitness function to better determine relevant documents that match a user query. The results show the proposed genetic algorithm has improved precision, returning only relevant documents, and reduced execution time compared to the original GAHWM model.