Project

General

Profile

bug #6447

advanced search doesn't return results

Added by Saskia Gennrich over 2 years ago. Updated over 2 years ago.

Status:
Rejected
Priority:
New
Category:
cdm-dataportal
Target version:
-
Start date:
03/01/2017
Due date:
% Done:

0%

Severity:
normal
Found in Version:

Description

When I try to do an advanced search i don't get any results. Even though the simple search returns results.

The query below is taken from the logs and returns.

curl "localhost:8080/cdm_maria/portal/taxon/search?pageSize=25&pageNumber=0&doTaxa=1&query=%22Sciurus%22&status=c3ee7048-15b7-4be1-b687-9ce9c1a669d6&status=cef81d25-501c-48d8-bbea-542ec50de2c2&status=75a60279-a4c2-4f53-bc57-466028a4b3db&status=ddeac4f2-d8fa-43b8-ad7e-ca13abdd32c7&status=310373bf-7df4-4d02-8cb3-bcc7448805fc&status=e191e89a-a751-4b0c-b883-7f1de70915c9&status=42946bd6-9c22-45ad-a910-7427e8f60bfd&status=643cf9d1-a5f1-4622-9837-82ef961e880b&status=0c54761e-4887-4788-9dfa-7190c88746e3&status=4e04990a-66fe-4fdf-856c-f40772fbcf0a&status=dc536e3d-a753-4bbe-a386-dd8aff35c234&status=925662c1-bb10-459a-8c53-da5a738ac770&status=83eb0aa0-1a45-495a-a3ca-bf6958b74366&status=fac8c347-8262-44a1-b0a4-db4de451c021&status=9eb99fe6-59e2-4445-8e6a-478365bd0fa9&status=4f31bfc8-3058-4d83-aea5-3a1fe9773f9f&status=da159544-b0dd-4599-a9c9-640826af8c17&status=5f954f08-267a-4928-b073-12328f74c187&status=9e0b413b-5a68-4e5b-91f2-227b4f832466&status=ac429d5f-e8ad-49ae-a41c-e4779b58b96a&status=1b025e8b-901a-42e8-9739-119b410c6f03&status=73f75493-1185-4a3e-af1e-9a1f2e8dadb7&status=11f56e2f-c16c-4b3d-a870-bb5d3b20e624&area=7f61e233-f527-4497-8e5d-205f1f53b9b4&tree=b8fa363d-ae55-4b8b-b696-eba58419cc6b"

{"prevIndex":0,"records":[],"suggestion":"","count":0,"lastRecord":0,"pageSize":25,"nextIndex":0,"currentIndex":0,"indices":[],"pagesAvailable":1,"firstRecord":1,"class":"DefaultPagerImpl"}

Not sure how to debug what's happening.

Here's the full log for the search request:

cdm_1     | [cdm_maria] 2017-03-01 11:21:04,910 INFO [eu.etaxonomy.cdm.remote.controller.BaseListController] - search : GET: /cdm_maria/portal/taxon/search?pageSize=25&pageNumber=0&doTaxa=1&query=%22Sciurus%22&status=c3ee7048-15b7-4be1-b687-9ce9c1a669d6&status=cef81d25-501c-48d8-bbea-542ec50de2c2&status=75a60279-a4c2-4f53-bc57-466028a4b3db&status=ddeac4f2-d8fa-43b8-ad7e-ca13abdd32c7&status=310373bf-7df4-4d02-8cb3-bcc7448805fc&status=e191e89a-a751-4b0c-b883-7f1de70915c9&status=42946bd6-9c22-45ad-a910-7427e8f60bfd&status=643cf9d1-a5f1-4622-9837-82ef961e880b&status=0c54761e-4887-4788-9dfa-7190c88746e3&status=4e04990a-66fe-4fdf-856c-f40772fbcf0a&status=dc536e3d-a753-4bbe-a386-dd8aff35c234&status=925662c1-bb10-459a-8c53-da5a738ac770&status=83eb0aa0-1a45-495a-a3ca-bf6958b74366&status=fac8c347-8262-44a1-b0a4-db4de451c021&status=9eb99fe6-59e2-4445-8e6a-478365bd0fa9&status=4f31bfc8-3058-4d83-aea5-3a1fe9773f9f&status=da159544-b0dd-4599-a9c9-640826af8c17&status=5f954f08-267a-4928-b073-12328f74c187&status=9e0b413b-5a68-4e5b-91f2-227b4f832466&status=ac429d5f-e8ad-49ae-a41c-e4779b58b96a&status=1b025e8b-901a-42e8-9739-119b410c6f03&status=73f75493-1185-4a3e-af1e-9a1f2e8dadb7&status=11f56e2f-c16c-4b3d-a870-bb5d3b20e624&area=7f61e233-f527-4497-8e5d-205f1f53b9b4&tree=b8fa363d-ae55-4b8b-b696-eba58419cc6b
cdm_1     | [cdm_maria] 2017-03-01 11:21:04,916 INFO [eu.etaxonomy.cdm.api.service.search.LuceneSearch] - final query: +((+(titleCache:sciurus (name.rank.label:sciurus name.rank.representation.text.ALL:sciurus name.rank.representation.label.ALL:sciurus name.rank.representation.abbreviatedLabel.ALL:sciurus)))) +((_hibernate_class:eu.etaxonomy.cdm.model.taxon.Taxon)^0.0) #(TermsQuery{field=id})
cdm_1     | [cdm_maria] 2017-03-01 11:21:04,928 INFO [eu.etaxonomy.cdm.remote.controller.BaseListController] - doPage() GET: /cdm_maria/portal/classification?pageNumber=0&pageSize=500
cdm_1     | [cdm_maria] 2017-03-01 11:21:04,975 INFO [eu.etaxonomy.cdm.remote.controller.ClassificationPortalListController] - getChildNodesAtRank() /cdm_maria/portal/classification/b8fa363d-ae55-4b8b-b696-eba58419cc6b/childNodesAt/ac470211-1586-4b24-95ca-1038050b618d

History

#1 Updated by Saskia Gennrich over 2 years ago

  • Status changed from New to Resolved

Damit die "Advanced Search" funktioniert muss vorher der Freetext index gebaut werden unter /admin/config/cdm_dataportal/settings -> Reindex.

#2 Updated by Andreas Kohlbecker over 2 years ago

  • Tags set to faunaEuropaea
  • Status changed from Resolved to Rejected
  • Target version deleted (Unassigned CDM tickets)

Damit kann das ticket also als 'rejeceted' geschlossen werden da es sich ja nicht wirklich um einen Bug gehandelt hat.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)