Skip to content

Commit

Permalink
Merge branch 'main' of github.com:computate-org/computate
Browse files Browse the repository at this point in the history
  • Loading branch information
computate committed Nov 30, 2024
2 parents bd72433 + d8815ae commit 2f82046
Show file tree
Hide file tree
Showing 2 changed files with 143 additions and 157 deletions.
3 changes: 3 additions & 0 deletions src/main/java/org/computate/frFR/java/EcrireApiClasse.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import org.apache.commons.lang3.BooleanUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.solr.client.solrj.SolrQuery;
import org.apache.solr.client.solrj.SolrQuery.ORDER;
import org.apache.solr.client.solrj.response.QueryResponse;
import org.apache.solr.client.solrj.util.ClientUtils;
import org.apache.solr.common.SolrDocument;
Expand Down Expand Up @@ -402,6 +403,7 @@ public void ecrireGenApiServiceImpl1(String classeLangueNom) throws Exception {
rechercheSolr.addFilterQuery("partEstEntite_indexed_boolean:true");
rechercheSolr.addFilterQuery("entiteEstSubstitue_indexed_boolean:false");
rechercheSolr.addFilterQuery("classeNomCanonique_" + langueNomActuel + "_indexed_string:" + fqClassesSuperEtMoi);
rechercheSolr.addSort("partNumero_indexed_int", ORDER.asc);
QueryResponse rechercheReponse = clientSolrComputate.query(rechercheSolr);
SolrDocumentList rechercheListe = rechercheReponse.getResults();
Integer rechercheLignes = rechercheSolr.getRows();
Expand Down Expand Up @@ -3816,6 +3818,7 @@ else if(classeApiMethode.contains("DELETE")) {
rechercheSolr.addFilterQuery("partEstEntite_indexed_boolean:true");
rechercheSolr.addFilterQuery("entiteEstSubstitue_indexed_boolean:false");
rechercheSolr.addFilterQuery("classeNomCanonique_" + langueNomActuel + "_indexed_string:" + fqClassesSuperEtMoi);
rechercheSolr.addSort("partNumero_indexed_int", ORDER.asc);
QueryResponse rechercheReponse = clientSolrComputate.query(rechercheSolr);
SolrDocumentList rechercheListe = rechercheReponse.getResults();
Integer rechercheLignes = rechercheSolr.getRows();
Expand Down
Loading

0 comments on commit 2f82046

Please sign in to comment.