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

RSolr::Error::Http - 400 Bad Request #3007

Open
ranjeev-letsalign opened this issue Jan 11, 2017 · 1 comment
Open

RSolr::Error::Http - 400 Bad Request #3007

ranjeev-letsalign opened this issue Jan 11, 2017 · 1 comment
Labels
Milestone

Comments

@ranjeev-letsalign
Copy link

Descriptive summary

While uploading a pdf file of size 2.4 MB with 200 pages, getting RSolr::Error::Http - 400 Bad Request error.

Expected behavior

Actual behavior

Error: 'Exception writing document id jd472w44j to the index; possible analysis error: Document contains at least one immense term in field="suggest" (whose UTF8 encoding is longer than the max length 32766), all of which were skipped. Please correct the analyzer to not produce such terms. The prefix of the first immense term is: '[10, 114, 116, 105, -62, -80, 49, 52, 32, 9, 32, 49, 49, 48, 49, 49, 49, 49, 49, 102, 105, 108, 108, 105, 108, 105, 108, 108, 32, 49]...', original message: bytes can be at most 32766 in length; got 36558. Perhaps the document has an indexed string field (solr.StrField) which is too large','code'=>400}}

Steps to reproduce the behavior

  1. Added description for generic_work
  2. Uploaded file.
  3. Submit form to create generic_work.
  4. Getting RSolr::Error::Http - 400 Bad Request error.

Related work

Link to related tickets or prior related work here.

@jcoyne
Copy link
Contributor

jcoyne commented Jan 11, 2017

@ranjeev-letsalign This error message is coming from solr and I've never encountered it before. You might want to ask about it on one of the Solr community forums.

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

3 participants