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

Restrict search results to valid entities #229

Closed
wants to merge 4 commits into from
Closed

Conversation

eikek
Copy link
Member

@eikek eikek commented Oct 25, 2024

This removes results from search as has been discussed:

  • projects that don't have a createdBy property (this should always be there, such a property missing indicates a processing error)
  • entities whose namespace can not be found, resolving it yields no results

eikek added 3 commits October 24, 2024 09:47
This will select only entities, where a `namespace` property exists.
Additionally, it selects only projects that have an existing
`createBy` property.

This doesn't filter out results, where a subquery would return no
results.
This adds the ability to use a cursor for paginated results.
- Move additional query constraints into single
  place (SearchSolrClient)

- Have a separate class for converting a user query into the final
  solr query (to be easier to test and have a dedicated place for this
  important piece)

- Add more tests for query amendments
@eikek eikek closed this Oct 30, 2024
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

Successfully merging this pull request may close these issues.

1 participant