lib/code_zauker/constants.rb in code_zauker-0.0.2 vs lib/code_zauker/constants.rb in code_zauker-0.0.3

- old
+ new

@@ -1,22 +1,34 @@ module CodeZauker + MAX_PUSH_TRIGRAM_RETRIES=3 + # Stats + # It is difficult to decide what is the best trigram push size. + # a larger one ensure a best in memory processing but can lead to longer transactions + # 6000 Ehuristic value used for historical reasons + TRIGRAM_DEFAULT_PUSH_SIZE=6000 DEFAULT_EXCLUDED_EXTENSION=[ + # Documents ".pdf", ".xps", - ".zip", - ".ppt",".xls",".rtf",".vsd", + ".zip",".7z", + # MS Office zip-like files... + ".pptx",".docx",".xlsx", + ".ppt",".xls",".rtf",".vsd", ".odf", + # Binary bad stuff ".dll",".exe",".out",".elf",".lib",".so", - ".jar",".class", + # Redis db + ".rdb", + # Ruby and java stuff-like + ".gem", + ".jar",".class",".ear",".war", ".tar", ".gz", ".dropbox", - ".svn-base",".pdb",".cache", - # MS Office zip-like files... - ".pptx",".docx",".xlsx", + ".svn-base",".pdb",".cache", # Music exclusion ".mp3",".mp4",".wav", # Image exclusion - ".png",".gif", + ".png",".gif",".jpg",".bmp", # Temp stuff ".tmp","~", # Oracle exports... ".exp" ]