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

Pre-release merge for search v0.5.6, search-api v0.2 #272

Merged
merged 191 commits into from
Feb 24, 2020
Merged

Pre-release merge for search v0.5.6, search-api v0.2 #272

merged 191 commits into from
Feb 24, 2020

Conversation

mhl10
Copy link
Contributor

@mhl10 mhl10 commented Feb 21, 2020

Release notes - search-api-0.2, search-0.5.6

The vast majority of changes are related to search APIs, particularly the classic search API reimplementation. Most files have been touched since the last release because of Black reformatting (now part of a pre-commit hook), so it may not be useful to review all files; I have highlighted a few with comments.

Many thanks to @alefnula for his big push on the classic API reimplementation and other helpful contributions!

New Feature

  • [ARXIVNG-1896] - Both new and legacy APIs should support max page size of 2,000 results
  • [ARXIVNG-1897] - Support for legacy API query parameter
  • [ARXIVNG-1898] - Implement routes module for legacy API

Task

  • [ARXIVNG-2965] - update base release and fix wsgi.py
  • [ARXIVNG-1516] - Reimplement Atom/XML serialization for metadata API
  • [ARXIVNG-1518] - Update OpenAPI schema with Atom/XML examples, Accept header
  • [ARXIVNG-1893] - Add a `query` parameter to the JSON-based API Schema
  • [ARXIVNG-1895] - Add start and size to openapi schema of JSON API
  • [ARXIVNG-1971] - Implement boolean search in Search API
  • [ARXIVNG-1972] - Support for parenthetical boolean operations and search
  • [ARXIVNG-2043] - Handle author affiliations in Atom search results
  • [ARXIVNG-2668] - Stage search API and classic API on beta.arxiv.org
  • [ARXIVNG-2904] - Classic arXiv API error handling
  • [ARXIVNG-2905] - Classic arXiv API query search_query and id_list logic
  • [ARXIVNG-2906] - Classic arXiv API start and max_results paging
  • [ARXIVNG-2907] - Classic arXiv API sort order for return results
  • [ARXIVNG-2972] - Fix the ordering issue for the classical API

JaimieMurdock and others added 30 commits March 7, 2019 00:19
Initial boolean support ARXIVNG-1971
ARXIVNG-2224 ARXIVNG-2225 added base app tests, fixed Elasticsearch config
@claassistantio
Copy link

claassistantio commented Feb 21, 2020

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
4 out of 5 committers have signed the CLA.

✅ erickpeirson
✅ JaimieMurdock
✅ alefnula
✅ mhl10
❌ dependabot[bot]
You have signed the CLA already but the status is still pending? Let us recheck it.

@mhl10 mhl10 changed the title Pre-release merge for search v0.5.6 Pre-release merge for search v0.5.6, search-api v0.2 Feb 21, 2020
"""
Utility module for Classic API Query parsing.

Uses lark-parser (EBNF parser) [1].
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The classic API reimplementation has been updated to use lark-parser.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@@ -0,0 +1,35 @@
- repo: https://github.com/ambv/black
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New pre-commit hooks. Installation instructions are in the readme.

@mhl10 mhl10 marked this pull request as ready for review February 21, 2020 19:58
Copy link
Contributor

@SBBCornell SBBCornell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I cant comment on the code, but it spins up, looks as expected, and the footer links and new colors from base are correct!

Copy link
Contributor

@bdc34 bdc34 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems good to me.

"""
Utility module for Classic API Query parsing.

Uses lark-parser (EBNF parser) [1].
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

return tokens[0] # type:ignore


QUERY_PARSER = Lark(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@mhl10 mhl10 merged commit 0797c67 into master Feb 24, 2020
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.

7 participants