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

Dokument z vybranych chybi v SOLRu #223

Closed
leiblix opened this issue Nov 7, 2017 · 0 comments
Closed

Dokument z vybranych chybi v SOLRu #223

leiblix opened this issue Nov 7, 2017 · 0 comments
Assignees
Labels

Comments

@leiblix
Copy link
Collaborator

leiblix commented Nov 7, 2017

Aktualne endpoint http://localhost:8080/search/api/v5.0/feed/custom, vraci dokola tento stacktrace:

07-Nov-2017 21:16:59.892 SEVERE [http-nio-8080-exec-1] cz.incad.kramerius.rest.api.k5.client.feeder.FeederResource.exception element must not be null
 java.lang.IllegalArgumentException: element must not be null
	at cz.incad.kramerius.rest.api.k5.client.utils.SOLRUtils.value(SOLRUtils.java:112)
	at cz.incad.kramerius.rest.api.k5.client.feeder.decorators.FeederSolrPolicyDecorate.decorate(FeederSolrPolicyDecorate.java:35)
	at cz.incad.kramerius.rest.api.k5.client.utils.JSONUtils.pidAndModelDesc(JSONUtils.java:58)
	at cz.incad.kramerius.rest.api.k5.client.utils.JSONUtils.pidAndModelDesc(JSONUtils.java:71)
	at cz.incad.kramerius.rest.api.k5.client.feeder.FeederResource.custom(FeederResource.java:182)

Deje se to protoze uuid:f1c7c08d-8f64-4b66-be28-5f209c2c7021 (Rovnost), ktere je vybrane mezi vybrane dokumenty zmizelo ze SOLRu. Pustil jsem novou reindexaci, takze na urovni dat se to opravi.


Krome toho by se mel upravit FeederSolrPolicyDecorate, aby to rozumneji logovalo chybu. Protoze jsem ho psal ja, beru to na sebe a opravim to :)

@leiblix leiblix self-assigned this Nov 7, 2017
@LenkaKravecova LenkaKravecova assigned kazooo and unassigned leiblix Mar 9, 2018
pavel-stastny added a commit to ceskaexpedice/kramerius that referenced this issue Apr 19, 2019
…corator

Issue moravianlibrary#223: Provide better error info when document is not present in Solr
@jkremlacek jkremlacek self-assigned this Apr 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants