Error after recent updates and migrations

21 views
Skip to first unread message

fur...@gmail.com

unread,
Mar 27, 2012, 2:01:30 PM3/27/12
to bib...@googlegroups.com
Just deployed the latest updates and migrations.  Getting this error when running delayed_job.  There are tons of them.

Image#reindex_associated_works failed with Net::HTTPServerException: 400 "ERROR: [doc=Work-221] unknown field 'sort_title'" - 3 failed attempts

Howard Ding

unread,
Mar 27, 2012, 2:06:11 PM3/27/12
to bib...@googlegroups.com
When you updated the code it needed to pick up some changes in the solr
schema in vendor/bibapp-solr/conf/schema.xml.

That file should have these lines in it (not consecutively):

<field name="sort_title" type="text" indexed="true" stored="true" />

<copyField source="sort_title" dest="sort_title_sort"/>

After that change was made it would be necessary to reindex solr.

Those would be my first thoughts. Let me know if the first looks okay
and you've done the second (and restarted everything) and there are
still problems and I'll think about it some more.

Howard

> --
> You received this message because you are subscribed to the Google
> Groups "bibapp" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/bibapp/-/ACyURjoNJIUJ.
> To post to this group, send email to bib...@googlegroups.com.
> To unsubscribe from this group, send email to
> bibapp+un...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/bibapp?hl=en.

fur...@gmail.com

unread,
Mar 27, 2012, 2:41:07 PM3/27/12
to bib...@googlegroups.com
Thanks, that took care of it.

> bibapp+unsubscribe@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages