// IndexHPO - build the index
build the index
// IndexHPO - build the index
func IndexHPO() error {
	var err error
	fmt.Println("Indexing obo...")
	index, err = indexing.InitIndex("obo-search.bleve")
	if err != nil {
		return fmt.Errorf("Error while initing obo index:\n	Error ==> %v", err)
	}
	err = indexOBO()
	if err != nil {
		return fmt.Errorf("Error while indexing obo:\n	Error ==> %v", err)
	}
	fmt.Println("Obo index done")
	return nil
}
func IndexHPO ( ) error { var err error fmt . Println ( " " ) index , err = indexing . InitIndex ( " " ) if err != nil { return fmt . Errorf ( " \n " , err ) } err = indexOBO ( ) if err != nil { return fmt . Errorf ( " \n " , err ) } fmt . Println ( " " ) return nil }
build the index
build the index