Re: Problem with additional Servlet Filter (SolrRequestParsers Exception)

2014-12-04 Thread Chris Hostetter
: Solr is not really designed to be extended in this way. In fact I believe : they are moving towards an architecture where this is even less possible - Correct. Starting with 5.0, the fact that servlets & a servlet container are used by solr becomes a pure implementation detail - subject to c

Re: Problem with additional Servlet Filter (SolrRequestParsers Exception)

2014-12-04 Thread Stefan Moises
Thanks for your reply! I've tried to extend Solr's SolrDispatchFilter class, but that doesn't work either... as soon as I do anything with the POST data in doFilter(), I get that error again ... works fine with GET, though (that's what you are using in your class, too...) So I'm kinda stuck n

Re: Problem with additional Servlet Filter (SolrRequestParsers Exception)

2014-12-04 Thread Stefan Moises
At least I found a good explanation here: https://issues.apache.org/jira/browse/STANBOL-437 "This is because of the Filter introduced for STANBOL-401. I have seen this as well have looked into it on more detail and come to the conclusion that is save. Quote from the first resource linked belo

Re: Problem with additional Servlet Filter (SolrRequestParsers Exception)

2014-12-03 Thread Michael Sokolov
Stefan I had problems like this -- and the short answer is -- it's a PITA. Solr is not really designed to be extended in this way. In fact I believe they are moving towards an architecture where this is even less possible - folks will be encouraged to run solr using a bundled exe, perhaps wit

Re: Problem with additional Servlet Filter (SolrRequestParsers Exception)

2014-12-03 Thread Stefan Moises
Hi again, just for reference, here is my filter class (taken from the example posted earlier) - as soon as I iterate over the request parameters, Solr gets angry... :( I have also tried HttpServletRequestWrapper, but that didn't help either... nor did this: http://ocpsoft.org/opensource/how-t

Problem with additional Servlet Filter (SolrRequestParsers Exception)

2014-12-03 Thread Stefan Moises
Hi Folks, I have a problem with an additional servlet filter defined in my web.xml (Tomcat 7.x). In Solr 4.2.1. we've successfully used a filter for processing POST request data (basically, the filter reads the POST data, collects some parameters from it and writes it back to the request, base