Hi, the problem is not the GET request type, the problem is that you build a far too complicated query. This won't scale very much and looks rather weird.
Why don't you just add all parent category ids to every document at index time? Then you could simply filter your request with the topmost category id, and no more. If you want additional queries filtered by some single category only, then you maybe should define two fields for the category ids, one with a single id token, and another with the ids of all sub-categories. -Kuli Am 13.04.2010 13:07, schrieb stockii: > > Hello. > > 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 > ..... > > > thx, for fast support ;) its very important ^^