Skip to content

Commit

Permalink
fix: Adding Search example
Browse files Browse the repository at this point in the history
  • Loading branch information
kadnan committed Jun 7, 2020
1 parent dc653be commit e90f4de
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,17 @@ func main() {
}
}
```

### For Searching
```
/* Searching Documents */
CSVDocument.Init()
result, _, err := CSVDocument.Search("siddiqi")
if err != nil {
fmt.Println(err)
}
fmt.Println("Printing the text present in CSV Document")
fmt.Println(result)
```
If you want to learn how this all work then visit the [blog post](http://blog.adnansiddiqi.me/fehrist-document-indexing-library-in-go/)

0 comments on commit e90f4de

Please sign in to comment.