Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indexer improvements #699

Merged
merged 5 commits into from
Jun 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion console.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,10 @@ task createUIIndex(type: JavaExec) {
main = 'org.zfin.indexer.UiIndexer'
}

task runChebiPhenotypeIndexer(type: JavaExec) {
task runPhenotypeIndexer(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'org.zfin.indexer.UiIndexer'
args 'TermPhenotype'
args 'ChebiPhenotype'
}

Expand Down
14 changes: 0 additions & 14 deletions server_apps/DB_maintenance/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,20 +86,6 @@
<jvmarg value="${jvm.arg.log4j}"/>
</java>
</target>
<target name="update-ui-tables" description="">
<java classname="org.zfin.indexer.TermPageIndexer"
fork="yes"
classpathref="extended.classpath"
failonerror="true">
<arg value="-webrootDirectory"/>
<arg value="${web.dir}"/>
<arg value="-loadDir"/>
<arg value="server_apps/DB_maintenance/validatedata"/>
<arg value="-jobName"/>
<arg value="Regenerate-UI-Tables_d"/>
<jvmarg value="${jvm.arg.log4j}"/>
</java>
</target>


<target name="load-gaf-goa" description="">
Expand Down
8 changes: 4 additions & 4 deletions server_apps/DB_maintenance/warehouse/regenPhenotypeMart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,15 @@ date;
echo "done with pheno_term_regen()";


echo "start gradle runChebiPhenotypeIndexer";
echo "start gradle runPhenotypeIndexer";
cd $SOURCEROOT
gradle runChebiPhenotypeIndexer
gradle runPhenotypeIndexer
if ($? != 0) then
echo "gradle runChebiPhenotypeIndexer failed";
echo "gradle runPhenotypeIndexer failed";
exit 1;
endif
date;
echo "done with gradle runChebiPhenotypeIndexer";
echo "done with gradle runPhenotypeIndexer";



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd">
<include file="source/org/zfin/db/postGmakePostloaddb/1145/ZFIN-8522.sql" />
<include file="source/org/zfin/db/postGmakePostloaddb/1145/ZFIN-8625.sql" />
<include file="source/org/zfin/db/postGmakePostloaddb/1145/indexer-tuning.sql" />
</databaseChangeLog>
44 changes: 44 additions & 0 deletions source/org/zfin/db/postGmakePostloaddb/1145/indexer-tuning.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
--liquibase formatted sql
--changeset cmpich:indexer-tuning.sql

CREATE INDEX term_phenotype_display_term ON UI.TERM_PHENOTYPE_DISPLAY
(
tpd_term_zdb_id
);

CREATE INDEX term_phenotype_display_fish ON UI.TERM_PHENOTYPE_DISPLAY
(
tpd_fish_zdb_id
);

CREATE INDEX term_phenotype_display_fig ON UI.TERM_PHENOTYPE_DISPLAY
(
tpd_fig_zdb_id
);

CREATE INDEX term_phenotype_display_pub ON UI.TERM_PHENOTYPE_DISPLAY
(
tpd_pub_zdb_id
);

CREATE INDEX phenotype_warehouse_association_warehouse ON UI.PHENOTYPE_WAREHOUSE_ASSOCIATION
(
pwa_phenotype_warehouse_id
);

CREATE INDEX phenotype_warehouse_association_phenotype ON UI.PHENOTYPE_WAREHOUSE_ASSOCIATION
(
pwa_phenotype_id
);

CREATE INDEX phenotype_zfin_association_gene ON UI.PHENOTYPE_ZFIN_ASSOCIATION
(
pza_gene_zdb_id
);

CREATE INDEX phenotype_zfin_association_phenotype ON UI.PHENOTYPE_ZFIN_ASSOCIATION
(
pza_phenotype_id
);


278 changes: 0 additions & 278 deletions source/org/zfin/indexer/TermPageIndexer.java

This file was deleted.

Loading