Skip to content

Commit

Permalink
add detType tov search ontologies content search endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed Mar 8, 2024
1 parent 374a693 commit 61bec78
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions controllers/search_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@ class SearchController < ApplicationController


conn = SOLR::SolrConnector.new(Goo.search_conf, :ontology_data)

resp = conn.search(query, fq: fq, qf: qf,
resp = conn.search(query, fq: fq, qf: qf, defType: "edimax",
page: page, page_size: page_size)

total_found = resp["response"]["numFound"]
Expand Down

0 comments on commit 61bec78

Please sign in to comment.