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

Switching blacklight http_method to :post #4728

Merged
merged 1 commit into from
Jan 19, 2021

Conversation

jeremyf
Copy link
Contributor

@jeremyf jeremyf commented Jan 19, 2021

Because too many times on Samvera tech people raise a problem regarding
a failed query to SOLR. Often, it's because they inadvertantly exceeded
the character limit of a GET request.

@samvera/hyrax-code-reviewers

Because too many times on Samvera tech people raise a problem regarding
a failed query to SOLR.  Often, it's because they inadvertantly exceeded
the character limit of a GET request.
@no-reply no-reply merged commit c5baaaf into master Jan 19, 2021
@no-reply no-reply deleted the catalog-controller-generator branch January 19, 2021 23:27
@no-reply
Copy link
Contributor

should we backport to 2.x?

@jeremyf
Copy link
Contributor Author

jeremyf commented Jan 19, 2021

Pushing the backport now-ish.

@no-reply
Copy link
Contributor

awesome! thank you!

jeremyf added a commit to scientist-softserv/britishlibrary that referenced this pull request Dec 15, 2022
Reviewing the logs I found:

```shell
ERROR -- : [c94e8538d4e27e31ce8995e3cf6af992] RSolr::Error::Http - 400 Bad Request
Error: {
  "responseHeader":{
    "zkConnected":true,
    "status":400,
    "QTime":0,
    "params":{
      "facet.field":["human_readable_type_sim",
        "resource_type_label_ssim",
        "creator_search_sim",
        "keyword_sim",
        "subject_sim",
```

The following line showed a string that was 2284 characters long and
ended in `f.member_of_collection_ids_ssim.facet.matches=%5E%24`; those
trailing characters decoded `^$` which could be a complete end of a
query (e.g. an empty string regexp match).

Related to:

- samvera/hyrax#4728
- #222
jeremyf added a commit to scientist-softserv/britishlibrary that referenced this pull request Dec 21, 2022
Reviewing the logs I found:

```shell
ERROR -- : [c94e8538d4e27e31ce8995e3cf6af992] RSolr::Error::Http - 400 Bad Request
Error: {
  "responseHeader":{
    "zkConnected":true,
    "status":400,
    "QTime":0,
    "params":{
      "facet.field":["human_readable_type_sim",
      "resource_type_label_ssim",
      "creator_search_sim",
      "keyword_sim",
      "subject_sim",
```

The following line showed a string that was 2284 characters long and
ended in `f.member_of_collection_ids_ssim.facet.matches=%5E%24`; those
trailing characters decoded `^$` which could be a complete end of a
query (e.g. an empty string regexp match).

Related to:

- samvera/hyrax#4728
- #222
- #223
- @9253f1a0c3cee81941c779765eb6a360309ea77b
jeremyf added a commit to scientist-softserv/britishlibrary that referenced this pull request Jan 11, 2023
Reviewing the logs I found:

```shell
ERROR -- : [c94e8538d4e27e31ce8995e3cf6af992] RSolr::Error::Http - 400 Bad Request
Error: {
  "responseHeader":{
    "zkConnected":true,
    "status":400,
    "QTime":0,
    "params":{
      "facet.field":["human_readable_type_sim",
        "resource_type_label_ssim",
        "creator_search_sim",
        "keyword_sim",
        "subject_sim",
```

The following line showed a string that was 2284 characters long and
ended in `f.member_of_collection_ids_ssim.facet.matches=%5E%24`; those
trailing characters decoded `^$` which could be a complete end of a
query (e.g. an empty string regexp match).

Related to:

- samvera/hyrax#4728
- #222
bkiahstroud added a commit to scientist-softserv/palni-palci that referenced this pull request Aug 28, 2024
:post has a higher character limit than the default (:get)

See:
- samvera/hyrax#4728
- samvera/hyrax@e8edc51
bkiahstroud added a commit to scientist-softserv/palni-palci that referenced this pull request Aug 29, 2024
:post has a higher character limit than the default (:get)

See:
- samvera/hyrax#4728
- samvera/hyrax@e8edc51
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.

2 participants