-
Notifications
You must be signed in to change notification settings - Fork 93
/
Copy pathsearchcode.properties.compose.properties
63 lines (63 loc) · 2.56 KB
/
searchcode.properties.compose.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# searchcode config
# If setting binary paths on windows use / not \ for directory delimiter
database=sqlite
sqlite_file=searchcode.sqlite
server_port=8080
repository_location=./repo/
index_location=./index/
facets_location=./index/facet/
trash_location=./trash/
timeindex_location=./index/time/
timeindex_facets_location=./index/time/facet/
check_repo_chages=600
check_filerepo_changes=600
index_time=5
only_localhost=false
low_memory=false
log_level=SEVERE
log_path=./logs
log_count=10
spelling_corrector_size=100000
max_document_queue_size=1000
max_document_queue_line_size=1000000
max_file_line_depth=10000
max_file_length_read=30000000
use_system_git=false
git_binary_path=/usr/bin/git
api_enabled=true
api_key_authentication=true
svn_enabled=true
svn_binary_path=C:/Program Files (x86)/Subversion/bin/svn.exe
owasp_database_location=./include/owasp/database.json
classifier_database_location=./include/classifier/database.json
license_database_location=./include/license/database.json
source_database_location=./include/source/database.json
highlight_lines_limit=5000
binary_guess=true
binary_extension_white_list=
binary_extension_black_list=woff,eot,cur,dm,xpm,emz,db,scc,idx,mpp,dot,pspimage,stl,dml,wmf,rvm,resources,tlb,docx,doc,xls,xlsx,ppt,pptx,msg,vsd,chm,fm,book,dgn,blines,cab,lib,obj,jar,pdb,dll,bin,out,elf,so,msi,nupkg,pyc,ttf,woff2,jpg,jpeg,png,gif,bmp,psd,tif,tiff,yuv,ico,xls,xlsx,pdb,pdf,apk,com,exe,bz2,7z,tgz,rar,gz,zip,zipx,tar,rpm,bin,dmg,iso,vcd,mp3,flac,wma,wav,mid,m4a,3gp,flv,mov,mp4,mpg,rm,wmv,avi,m4v,sqlite,class,rlib,ncb,suo,opt,o,os,pch,pbm,pnm,ppm,pyd,pyo,raw,uyv,uyvy,xlsm,swf,xz
directory_black_list=
number_git_processors=5
number_svn_processors=5
number_file_processors=5
default_and_match=true
log_indexed=false
follow_links=false
deep_guess_files=false
host_name=localhost:8080
index_all_fields=content,filename,filenamereverse,path,interesting
# Mostly used for changing over to distributed searchcode.com index
highlighter=remote
highlighter_binary_location=./include/binaries/
delete_repo_after_process=true
index_service=sphinx
sphinx_connection_string=jdbc:mysql://%s:9306?characterEncoding=utf8&maxAllowedPacket=1073741824&net_buffer_length=16384
# the first server is always assumed to be the master
sphinx_servers_shards=127.0.0.1:1,2,3,4;localhost:5,6,7,8
searchcode_connection_string=jdbc:mysql://mysql:3306/searchcode?serverTimezone=UTC
searchcode_connection_user=root
searchcode_connection_password=example
# The below will probably be moved into the settings page at some point in the
# future.
password=Adm1n234
encryption_key=39dc5f2168e412be3a9faf9d08482114