Sha256: 6551b1cd08b60ad7e1f09076c99fe881e6784aaf76c3c1a1fb584c44f7de9f4e

Contents?: true

Size: 1.61 KB

Versions: 1

Compression:

Stored size: 1.61 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
                              ".pdf",
                              ".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",
                              ".tar",
                              ".gz",
                              ".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

1 entries across 1 versions & 1 rubygems

Version Path
code_zauker-0.0.3 lib/code_zauker/constants.rb