stephen304 / bitcannon

A torrent index archiving, browsing, and backup tool
http://bitcannon.io/
MIT License
408 stars 40 forks source link

search function not working? #63

Closed marafa closed 9 years ago

marafa commented 9 years ago

i browse my db and picked a word and tried searching for it. no results were returned so i tried case sensitive. no results were found so i just stuck the vowel "a" only. again. no results were found

at this point. i am concluding the search function is not working

stephen304 commented 9 years ago

Can you provide some details like what you have imported to the database and what the bitcannon log window shows?

Also, how many torrents does it show as being in the database at the bottom of the home page? Did you upgrade from a previous version of BitCannon and if you did, did you clear out the database when upgrading?

I am fairly certain the search function works - it may be that the database is storing in an old format if you upgraded, or that you aren't using MongoDB v2.6 or later.

marafa commented 9 years ago

hi i am using the default json file. i have crontab set up to kill and then launch the app every hour.

currently i have 44000 torrents in the db

i did not upgrade from a previous version.

i am using the default mongodb of centos6 mongodb-server-2.4.12-2.el6.x86_64 - why is this an issue?

marafa commented 9 years ago

the latest version of mongodb on fedora is 2.4.9 - very funny

stephen304 commented 9 years ago

You will need to use mongodb 2.6 as 2.4 doesn't have the functions necessary to do flexible text searches.