Commit graph

17 commits

Author SHA1 Message Date
Las Zenow
9d1f1ad5c0 Move all the code to a lib folder 2016-05-02 21:41:40 -04:00
Las Zenow
4ace7a687e Don't sort by text in the Iter
There is some issues with the sorting for iterators, it seems to crash
in big databases.
2015-04-28 11:29:32 -04:00
Las Zenow
b178df89b0 Check if the lang is supported by mongo
If an unsoported lang is setted in the language override the document
will fail on inserting in the database, causing it to be lost.
2015-04-27 20:54:41 -04:00
Las Zenow
4e9e0fb2a5 Add books Iter 2015-04-21 21:57:28 -04:00
Las Zenow
a1ef113ced Create the text index 2015-01-24 11:53:28 -06:00
Las Zenow
6993fcb9e8 Add history of modifications 2015-01-22 21:58:27 -06:00
Las Zenow
078b210392 Use text search 2014-10-26 12:12:27 -06:00
Las Zenow
deece4f5d0 One flag per user 2014-09-07 21:13:52 -05:00
Las Zenow
f5363e17bc Add bad quality flag 2014-09-07 20:25:11 -05:00
Las Zenow
f0ab0cc441 Create indexes on database init 2014-09-06 23:58:10 -05:00
Las Zenow
562bc157ee Normalize includes 2014-08-30 13:17:50 -05:00
Las Zenow
f4690b2bba Move files to a local folder 2014-08-21 19:57:38 -05:00
Las Zenow
97ed9ec073 Use gopkg.in/mgo.v2 package 2014-08-18 19:27:53 -05:00
Las Zenow
40800c6527 Remove the dependency of bson to interact with the books database 2014-07-02 21:09:41 -05:00
Las Zenow
93d31b53fe Move the query parsing to the database
This implies to move the tokeinzation as well.
2014-07-02 20:58:00 -05:00
Las Zenow
44d3a191f6 Add DB.GetBookId 2014-07-02 20:40:24 -05:00
Las Zenow
59eaa4e2aa Refactor database 2014-06-29 19:41:29 -05:00