Re: [Dspace-tech] SOLR SEVERE Error
On Fri, Jan 25, 2013 at 10:38 AM, Hilton Gibson hilton.gib...@gmail.com wrote: Can someone tell me why this is a SEVERE error. Thx. SEVERE: org.apache.solr.common.SolrException: org.apache.lucene.queryParser.ParseException: Cannot parse 'subject_filter:team\': Lexical error at line 1, column 21. Encountered: EOF after : It's SEVERE because Lucene (the one contained in Solr) declared it as such. There's nothing DSpace can do about it. This seems to be some invalid data in your repository causing facets to fail, namely an invalid character in the subject metadata. Most likely the backslash at the end causing it to interpret the next character (EOF) as part of the data. If you have a problem finding the offending item, search for it in the database: SELECT * FROM metadatavalue WHERE text_value LIKE '%team%' LIMIT 30 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] SOLR SEVERE Error
I haven't noticed any problem there. The fact that it's a facet (subject_filter) suggests that the offending character is in the data, not in a query given by the user, so it puzzles me that I didn't find anything. Are you able to reproduce the problem after running update-discovery-index? A way to narrow down the problem to a particular item might be to walk down your community/collection hierarchy and/or facets while watching the log (tail -f catalina.log) until you find the item that still triggers the error. This suggests it may have something to do with quotes in the query: http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201203.mbox/%3C007b01ccf78e$9171c1f0$b45545d0$@gmail.com%3E Does this return anything? SELECT * FROM metadatavalue WHERE metadata_field_id = '57' AND text_value LIKE '%%' LIMIT 30 This is the only item with subject keyword team. It's a long shot (I don't see anything wrong there), but can you make it private, run update-discovery-index and try to reproduce the problem? http://scholar.sun.ac.za/handle/10019.1/21326?show=full Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] SOLR SEVERE Error
Ok. My last error came thru at: 10h00 approx 25 Jan 2013 10:19:49 AM org.apache.solr.common.SolrException log Lets see what happens later. On 25 January 2013 12:24, helix84 heli...@centrum.sk wrote: I haven't noticed any problem there. The fact that it's a facet (subject_filter) suggests that the offending character is in the data, not in a query given by the user, so it puzzles me that I didn't find anything. Are you able to reproduce the problem after running update-discovery-index? A way to narrow down the problem to a particular item might be to walk down your community/collection hierarchy and/or facets while watching the log (tail -f catalina.log) until you find the item that still triggers the error. This suggests it may have something to do with quotes in the query: http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201203.mbox/%3C007b01ccf78e$9171c1f0$b45545d0$@gmail.com%3E Does this return anything? SELECT * FROM metadatavalue WHERE metadata_field_id = '57' AND text_value LIKE '%%' LIMIT 30 This is the only item with subject keyword team. It's a long shot (I don't see anything wrong there), but can you make it private, run update-discovery-index and try to reproduce the problem? http://scholar.sun.ac.za/handle/10019.1/21326?show=full Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- *Hilton Gibson* Systems Administrator JS Gericke Library Room 1025D Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 http://library.sun.ac.za http://scholar.sun.ac.za http://ar1.sun.ac.za http://aj1.sun.ac.za -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette