<commit_before>db = db.getSiblingDB('notes')
db.user.createIndex( { Name: 1 }, { unique: true } )
db.notes.createIndex( { Title: "text", Content: "text", Notebook: "text", Tags: "text" } )
db.notes.createIndex( { owner: 1, trash: 1 } )
db.notes.createIndex( { _id: 1, owner: 1, trash: 1 } )
db.notes.createIndex( { owner: 1, trash: 1, notebook: 1 } )
db.notes.createIndex( { _id: 1, owner: 1, trash: 1, notebook: 1 })
db.notes.createIndex( { owner: 1, trash: 1, tags: 1 } )
db.notes.createIndex( { _id: 1, owner: 1, trash: 1, tags: 1 })
db.token.createIndex( { created: 1 }, { expireAfterSeconds: 3600 })<commit_msg>Fixed init script for indexes.<commit_after>db = db.getSiblingDB('notes')
db.user.createIndex( { username: 1 }, { unique: true } )
db.notes.createIndex( { title: "text", content: "text", notebook: "text", tags: "text" } )
db.notes.createIndex( { owner: 1, trash: 1 } )
db.notes.createIndex( { _id: 1, owner: 1, trash: 1 } )
db.notes.createIndex( { owner: 1, trash: 1, notebook: 1 } )
db.notes.createIndex( { _id: 1, owner: 1, trash: 1, notebook: 1 } )
db.notes.createIndex( { owner: 1, trash: 1, tags: 1 } )
db.notes.createIndex( { _id: 1, owner: 1, trash: 1, tags: 1 } )
db.token.createIndex( { created: 1 }, { expireAfterSeconds: 3600 } )
{'fraction_non_alphanumeric': 0.19187898089171976, 'fraction_numerical': 0.03980891719745223, 'mean_word_length': 4.394849785407725, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '267201', 'n_tokens_mistral': 515, 'n_tokens_neox': 465, 'n_words': 134}