Sha256: cc53b81956da1d97cbaad565b5ecf6b6a9fc179687a6dddf1ae2707724d76503

Contents?: true

Size: 1.64 KB

Versions: 2

Compression:

Stored size: 1.64 KB

Contents

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                             
                              ".xps",
                              ".zip",".7z",
                              # MS Office zip-like files...
                              ".pptx",".docx",".xlsx",
                              ".ppt",".xls",".rtf",".vsd", ".odf",
                              # Binary bad stuff
                              ".dll",".exe",".out",".elf",".lib",".so",
                              # Redis db
                              ".rdb",
                              # Ruby and java stuff-like
                              ".gem",
                              ".jar",".class",".ear",".war",
                              ".mar",
                              ".tar",
                              ".gz",".Z",
                              ".dropbox",
                              ".svn-base",".pdb",".cache",                             
                              # Music exclusion
                              ".mp3",".mp4",".wav",
                              # Image exclusion
                              ".png",".gif",".jpg",".bmp",
                              # Temp stuff
                              ".tmp","~",
                              # Oracle exports...
                              ".exp"
                              ]
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
code_zauker-0.0.5 lib/code_zauker/constants.rb
code_zauker-0.0.4 lib/code_zauker/constants.rb