> My client uses my autocompletion with an normal > http-Request to solr. like > this: http://XXX/solr/suggestpg/select/?q=harry > > so, when i want to search in a category with all his > childs, my request is > too long. > How can i change from GET to POST ?? > > my request to solr looks like this. in short ;) > http://XXX/solr/suggestpg/select/?q=harry&fq= > >cat_id:7994+OR+cat_id:7995+OR+cat_id:8375+OR+cat_id:8465+OR+cat_id:8757+OR>+cat_id:8766+OR+cat_id:8792+OR+cat_id:8843
http://XXX/solr/suggestpg/select/ accepts both GET and POST by default. You can verify this by this html from: <form name="input" action="http://XXX/solr/suggestpg/select/" method="post"> Username: <input type="text" name="q" /> <input type="submit" value="Submit" /> </form> Just for your information: your filter query can be shortened as follows: &fq=cat_id:(7994 7995 8375 8465 8843)&q.op=OR