Go Open Source, Distributed, Simple and efficient Search Engine; Warning: This is V1 and beta version, because of big memory consume, and the V2 will be rewrite all code.
Apache License 2.0
6.11k
stars
474
forks
source link
Is is required to call indexDoc before search #108
I copied the following code from example and add some options in Riot. It works well if I call Index before query. In reality, all the text data will be read from database, and make indexes if required. But I found if I set variable 'buildIdx' to false and run again, nothing is returned. Does that mean I have to query database and make indexes before query?
I copied the following code from example and add some options in Riot. It works well if I call Index before query. In reality, all the text data will be read from database, and make indexes if required. But I found if I set variable 'buildIdx' to false and run again, nothing is returned. Does that mean I have to query database and make indexes before query?