func NewIndex() *Index {
	dict := make(map[string]PostingsList)
	return &Index{
		Dictionary:     dict,
		TotalDocsCount: 0,
	}
}
// NewIndex create a new index.
NewIndex create a new index.
// NewIndex create a new index .
func NewIndex() *Index {
	dict := make(map[string]PostingsList)
	return &Index{
		Dictionary:     dict,
		TotalDocsCount: 0,
	}
}
func NewIndex ( ) * Index { dict := make ( map [ string ] PostingsList ) return & Index { Dictionary : dict , TotalDocsCount : 0 , } }
NewIndex create a new index.
NewIndex create a new index .