23 lines
489 B
Python
23 lines
489 B
Python
import sys
|
|
sys.path.append("../core")
|
|
|
|
import ocarina
|
|
import coredefaults
|
|
ocarina.init()
|
|
|
|
import index
|
|
|
|
#search="eagles, a the, a, the, for you, why not, hello, world"
|
|
#search = "eagles"
|
|
#search = "a"
|
|
#search="eagles, for you, why not, hello, world"
|
|
#search = "hotel,eagles,blue,bunch of words,three,squirrel,muffin,pizza,linus"
|
|
search = "e,a,t"
|
|
index.search(search)
|
|
#index.save()
|
|
#print index.search(search)
|
|
#print len( index.search(search) )
|
|
#index.reindex()
|
|
#index.save()
|
|
#index.show()
|