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

No results returned #1

Open
biliboc opened this issue Mar 28, 2017 · 0 comments
Open

No results returned #1

biliboc opened this issue Mar 28, 2017 · 0 comments

Comments

@biliboc
Copy link

biliboc commented Mar 28, 2017

I have this config in solr config:

`

<queryResponseWriter name="skg" class="com.careerbuilder.search.relevancy.responsewriter.KnowledgeGraphResponseWriter"/>

<requestHandler name="/rel" class="com.careerbuilder.search.relevancy.KnowledgeGraphHandler">
	<lst name="defaults">
		<str name="df">text</str>
		<str name="defType">edismax</str>
	</lst>
	<lst name="invariants">
		<!-- fallback field defines which field to query in case foreground returns less
			 than min_popularity -->
		<str name="field.v1.fallback">text</str>
		<str name="wt">skg</str>
		<!-- default facet fields. these map search fields to facet fields by appending to the search field.-->
		<!--medCodes,problemCodes,negProblemCodes,signCodes,negSignCodes,symptomCodes,negSymptomCodes,allergyCodes,famhCodes,pmhCodes,procedureCodes,plannedProcedureCodes,sochCodes,immunCodes,reasonCodes-->
		<str name="field.v1.facet-field">problemCodes</str>
		<str name="field.v1.facet-field">medCodes</str>
		<str name="field.v1.facet-field">signCodes</str>
		<str name="field.v1.facet-field">symptomCodes</str>
		<!-- key value for searching search fields based on generated nodes. should be a facet value.
			 e.g. key = id implies when faceting, the id value will be used to search and score the generated node-->
		<str name="field.v1.key">id</str>
	</lst>
</requestHandler>

`
This query:

{ "queries": [ "problemCodes:\"SNOMED_699697007\"" ], "compare": [ { "type": "problemCodes", "limit": 1, "compare": [ { "type": "medCodes", "limit": 5, "discover_values": true } ] } ] }

constantly nothing:

{ "data": [{ "type": "problemCodes", "values": [] }] }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant