python
from percol import Index, Searcher
index = Index()
searcher = Searcher(index)
index.add_document(1, "Hello world")
index.add_document(2, "This is a sample document")
index.add_document(3, "Python is a great programming language")
results = searcher.search("Python programming")