Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ensembl_search_hub
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-web
ensembl_search_hub
Merge requests
!3
Refactor the project
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Refactor the project
migrate-pysolr-refactor
into
migrate-pysolr
Overview
9
Commits
8
Pipelines
3
Changes
23
Open
Tuan Le
requested to merge
migrate-pysolr-refactor
into
migrate-pysolr
2 years ago
Overview
9
Commits
8
Pipelines
3
Changes
23
Expand
Refactor based on the
open PR
Create SolrQuery for building query
Restructure the project
Remove async method as pysolr is not async
Change gene search to use GET
Add unit tests
0
0
Merge request reports
Compare
migrate-pysolr
version 2
5b2bd4fa
2 years ago
version 1
4a456092
2 years ago
migrate-pysolr (HEAD)
and
latest version
latest version
41cca76a
8 commits,
2 years ago
version 2
5b2bd4fa
7 commits,
2 years ago
version 1
4a456092
6 commits,
2 years ago
23 files
+
1120
−
461
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
23
Search (e.g. *.vue) (Ctrl+P)
core/config.py
+
3
−
4
Options
@@ -14,9 +14,8 @@
import
os
PAGE
=
os
.
getenv
(
"
PAGE
"
,
1
)
PER_PAGE
=
os
.
getenv
(
"
PAGE
"
,
100
)
SOLR_SERVER
=
os
.
getenv
(
"
SOLR_SERVER
"
,
"
ensembl-solr-svc:8983
"
)
ZOOKEEPER_HOSTS
=
os
.
getenv
(
"
ZOOKEEPER_HOSTS
"
,
"
ensembl-solr-cloud-svc:8983
"
)
SOLR_COLLECTION
=
os
.
getenv
(
"
SOLR_COLLECTION
"
,
"
genome_search_v1
"
)
#ZOOKEEPER_HOSTS = "wp-p1m2-8a:2181,wp-p1m2-8b:2181,wp-p1m2-8c:2181"
SOLR_GENE_COLLECTION
=
os
.
getenv
(
"
SOLR_GENE_COLLECTION
"
,
"
gene_search_v1
"
)
SOLR_HELP_COLLECTION
=
os
.
getenv
(
"
SOLR_HELP_COLLECTION
"
,
"
help_search_v1
"
)